"lines": {
"499": " {",
"500": " var client = (ServiceClientBase)GetClientWithUserPassword();",
"501": " client.AlwaysSendBasicAuthHeader = true;",
"611": " ((ServiceClientBase)client).UserName = EmailBasedUsername;",
"612": " ((ServiceClientBase)client).Password = PasswordForEmailBasedAccount;",
"613": "",
"664": " ((ServiceClientBase)client).UserName = EmailBasedUsername;",
"665": " ((ServiceClientBase)client).Password = PasswordForEmailBasedAccount;",
"666": "",
"713": " {",
"714": " var client = (IRestClient)GetClientWithUserPassword();",
"715": " ((ServiceClientBase)client).AlwaysSendBasicAuthHeader = false;",
"730": " {",
"731": " var client = (IRestClient)GetClientWithUserPassword();",
"732": " ((ServiceClientBase)client).AlwaysSendBasicAuthHeader = true;"
},
app.component.html:
<td class="text-wrap" style="min-width: 100px; max-width:300px;"
(click)="openDialog()"><span *ngFor="let line of getLinesArray(scan.lines);let
isLast=last">{{line}}{{isLast ? '' : ', '}}</span></td>
在这个例子中,我只需要在表格列上显示一行数据,剩下的我需要添加点击这里(一行...点击这里检查),如果我点击这里,那么剩余的行应该显示在 mat 对话框上。
谢谢。