Commit 80dcf92a authored by limingzhe's avatar limingzhe

fix: debug

parent e4ce6dcc
......@@ -144,7 +144,19 @@
<span>服务端区域块:</span>
<a nz-dropdown [nzDropdownMenu]="menu2">
{{hzItem.rectItem ? 'rect-item-' + hzItem.rectItem : 'select rect'}}
<label *ngIf="hzItem.rectNew">
{{'rect-new-' + hzItem.rectNew}}
</label>
<label *ngIf="!hzItem.rectNew && hzItem.rectItem">
{{'rect-item-' + hzItem.rectItem}}
</label>
<label *ngIf="!hzItem.rectNew && !hzItem.rectItem">
{{'select rect'}}
</label>
<i nz-icon nzType="down"></i>
</a>
<nz-dropdown-menu #menu2="nzDropdownMenu">
......@@ -152,6 +164,9 @@
<div *ngFor="let temp of item.hotZoneItemArr2; let j = index" (click)="saveRectItem(hzItem, j+1)" >
<li *ngIf="temp.gIdx == '1' " nz-menu-item>rect-item-{{j+1}}</li>
</div>
<div *ngFor="let temp of item.hotZoneItemArr2; let j = index" (click)="saveRectNew(hzItem, j+1)" >
<li *ngIf="temp.gIdx == '6' " nz-menu-item>rect-new-{{j+1}}</li>
</div>
</ul>
</nz-dropdown-menu>
</div>
......
......@@ -121,6 +121,13 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
rect: true,
label: '参照文本',
},
{
name: '书写区(新)',
rect: true,
label: '字母',
isCopy: true,
},
]
audioTypeArr = [
......@@ -219,6 +226,10 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
hzItem.rectItem = rectItemId;
this.save();
}
saveRectNew(hzItem, rectItemId) {
hzItem.rectNew = rectItemId;
this.save();
}
......
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