diff --git a/frontend/src/components/canvas/store/copy.js b/frontend/src/components/canvas/store/copy.js index 0912e41475..4d740986e7 100644 --- a/frontend/src/components/canvas/store/copy.js +++ b/frontend/src/components/canvas/store/copy.js @@ -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 = [] }