Merge pull request #2680 from dataease/pr@dev@refactor_multiply

refactor(仪表板): 仪表板的复用支持复用所有组件
This commit is contained in:
王嘉豪 2022-07-25 12:05:01 +08:00 committed by GitHub
commit 308dd0b09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()