refactor(仪表板): 仪表板的复用支持复用所有组件

This commit is contained in:
wangjiahao 2022-07-25 12:04:29 +08:00
parent 03e81d2205
commit 4607b80751

View File

@ -105,6 +105,7 @@ export default {
} else if (data.type === 'de-tabs') {
const sourceAndTargetIds = {}
const newCop = deepCopy(data)
newCop.id = uuid.v1()
newCop.options.tabList.forEach((item) => {
if (item.content && item.content.type === 'view') {
const newViewId = uuid.v1()