fix bug
This commit is contained in:
@ -1,3 +1,13 @@
|
||||
/*
|
||||
* @Description :
|
||||
* @Version : 1.0
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-01-25 16:03:45
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-02-14 14:54:08
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\shared\\components\\dynamic-setting\\dynamic-setting-h5\\dynamic-setting-h5.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
import { Component, OnInit, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { BaseService } from '@shared';
|
||||
|
||||
@ -29,7 +39,9 @@ export class DynamicSettingH5Component implements OnInit {
|
||||
|
||||
constructor(public service: BaseService) {}
|
||||
|
||||
ngOnInit() {}
|
||||
ngOnInit() {
|
||||
console.log(this.tabs)
|
||||
}
|
||||
|
||||
changeType(type: any): void {
|
||||
this.selectedTab = type;
|
||||
@ -42,7 +54,7 @@ export class DynamicSettingH5Component implements OnInit {
|
||||
if (this.configList?.length < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(this.configList)
|
||||
let params = [...this.configList];
|
||||
params = params.map((item: any) => {
|
||||
if (JSONTYPE.has(item.itemType)) {
|
||||
|
||||
Reference in New Issue
Block a user