|
|
@@ -834,7 +834,7 @@ export default {
|
|
|
}, {});
|
|
|
});
|
|
|
},
|
|
|
- addRemark(selectNode, x, y, componentId) {
|
|
|
+ addRemark(selectNode, x, y, componentId, content_select) {
|
|
|
this.remark_content = '';
|
|
|
this.visible = true;
|
|
|
if (selectNode) {
|
|
|
@@ -842,12 +842,14 @@ export default {
|
|
|
x,
|
|
|
y,
|
|
|
componentId,
|
|
|
+ content_select,
|
|
|
};
|
|
|
} else {
|
|
|
this.menuPosition = {
|
|
|
x: -1,
|
|
|
y: -1,
|
|
|
componentId: 'WHOLE',
|
|
|
+ content_select,
|
|
|
};
|
|
|
}
|
|
|
},
|
|
|
@@ -863,6 +865,7 @@ export default {
|
|
|
component_id: this.menuPosition.componentId,
|
|
|
position_x: this.menuPosition.x,
|
|
|
position_y: this.menuPosition.y,
|
|
|
+ content_select: this.menuPosition.content_select,
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.submit_loading = false;
|