|
|
@ -604,7 +604,7 @@ export default { |
|
|
|
componentList: item.componentList.map(this.processBackendCptData) |
|
|
|
} |
|
|
|
})] |
|
|
|
// this.cptTypeList = list |
|
|
|
this.cptTypeList = list |
|
|
|
console.log('可用组件列表', list) |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
@ -628,7 +628,7 @@ export default { |
|
|
|
...res.data.functionList, |
|
|
|
...res.data.floatingList |
|
|
|
] |
|
|
|
// this.cptList = list.map(this.processBackendCptData) |
|
|
|
this.cptList = list.map(this.processBackendCptData) |
|
|
|
this.lastSavedCptList = cloneDeep(this.cptList) |
|
|
|
console.log('用户储存组件列表', list) |
|
|
|
} |
|
|
|