Commit dcaf5063 authored by 李维's avatar 李维

修复文字选项配置无法保存的问题

parent 94b84879
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -177,7 +177,10 @@ ...@@ -177,7 +177,10 @@
</nz-select> </nz-select>
</td> </td>
<td *ngIf="it.useSelectOptionList" nzAlign="center"> <td *ngIf="it.useSelectOptionList" nzAlign="center">
<nz-select nzShowSearch nzAllowClear [nzMode]="it.hotZoneType == TEXT_SELECT ? 'default' : 'multiple'" [(ngModel)]="it.hotZoneType == TEXT_SELECT ? data.selectOptionListIndex : data.selectOptionListIndexArr" style="width: 180px;" (ngModelChange)="save()"> <nz-select *ngIf="it.hotZoneType == TEXT_SELECT" nzShowSearch nzAllowClear nzMode="default" [(ngModel)]="data.selectOptionListIndex" style="width: 180px;" (ngModelChange)="save()">
<nz-option *ngFor="let itOption of it.selectOptionList; let i = index;" [nzValue]="i" [nzLabel]="itOption.text"></nz-option>
</nz-select>
<nz-select *ngIf="it.hotZoneType != TEXT_SELECT" nzShowSearch nzAllowClear nzMode="multiple" [(ngModel)]="data.selectOptionListIndexArr" style="width: 180px;" (ngModelChange)="save()">
<nz-option *ngFor="let itOption of it.selectOptionList; let i = index;" [nzValue]="i" [nzLabel]="itOption.text"></nz-option> <nz-option *ngFor="let itOption of it.selectOptionList; let i = index;" [nzValue]="i" [nzLabel]="itOption.text"></nz-option>
</nz-select> </nz-select>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment