refactor(仪表板): Tab内组件复制的组件还放置在tab内部

This commit is contained in:
wangjiahao 2022-12-29 12:11:04 +08:00
parent 90bb64aa07
commit 415f36dcea

View File

@ -126,8 +126,8 @@ export default {
Vue.set(newView, 'needAdaptor', needAdaptor)
newView.id = uuid.v1()
newView.propValue.viewId = res.data
newView['canvasId'] = 'canvas-main'
newView['canvasPid'] = '0'
newView['canvasId'] = data.canvasId
newView['canvasPid'] = data.canvasPid
if (newView.filters && newView.filters.length) {
newView.filters = []
}