forked from github/dataease
refactor(仪表板): Tab内组件复制的组件还放置在tab内部
This commit is contained in:
parent
90bb64aa07
commit
415f36dcea
@ -126,8 +126,8 @@ export default {
|
|||||||
Vue.set(newView, 'needAdaptor', needAdaptor)
|
Vue.set(newView, 'needAdaptor', needAdaptor)
|
||||||
newView.id = uuid.v1()
|
newView.id = uuid.v1()
|
||||||
newView.propValue.viewId = res.data
|
newView.propValue.viewId = res.data
|
||||||
newView['canvasId'] = 'canvas-main'
|
newView['canvasId'] = data.canvasId
|
||||||
newView['canvasPid'] = '0'
|
newView['canvasPid'] = data.canvasPid
|
||||||
if (newView.filters && newView.filters.length) {
|
if (newView.filters && newView.filters.length) {
|
||||||
newView.filters = []
|
newView.filters = []
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user