fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-01-25 16:03:45
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-02-14 16:13:53
|
||||
* @LastEditTime : 2022-02-14 16:18:02
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\shared\\components\\dynamic-setting\\dynamic-setting-h5\\dynamic-setting-h5.component.html
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
-->
|
||||
@ -72,14 +72,13 @@
|
||||
<ng-container *ngSwitchCase="7">
|
||||
<app-freight-table></app-freight-table>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
<ng-container *ngSwitchCase="8">
|
||||
<nz-input-group style="width: 155px;"
|
||||
class="ml-md mr-xl">
|
||||
<input nz-input placeholder="请输入" [(ngModel)]="item.itemValue" />
|
||||
</nz-input-group>
|
||||
</ng-container>
|
||||
|
||||
</ng-container>
|
||||
</se>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-01-10 16:06:17
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-02-14 15:28:16
|
||||
* @LastEditTime : 2022-02-14 16:19:54
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\shared\\components\\dynamic-setting\\dynamic-setting-modal\\dynamic-setting-modal.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -101,7 +101,7 @@ export class DynamicSettingModalComponent implements OnInit {
|
||||
remark: item?.remark ? JSON.parse(item?.remark) : null,
|
||||
extend: item?.extend ? JSON.parse(item?.extend) : [],
|
||||
// itemData: item.itemData ? JSON.parse(item.itemData) : item.itemData,
|
||||
itemValue: item?.itemValue ? JSON.parse(item?.itemValue) : item?.itemValue
|
||||
itemValue: item?.itemValue ? item?.itemType === 1? JSON.parse(item?.itemValue) : item?.itemValue : item?.itemValue
|
||||
}));
|
||||
}
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user