|
@@ -330,9 +330,10 @@ const addText = (textEditState) => {
|
|
|
close();
|
|
|
emits('handleSendData', JSON.stringify({
|
|
|
operation: 'add', // 必填
|
|
|
+ id: data.id,
|
|
|
name: data.title, // 必填
|
|
|
content: JSON.stringify(data), // 必填
|
|
|
- visible: false
|
|
|
+ visible: '1'
|
|
|
}));
|
|
|
};
|
|
|
watch(() => props.onlinePlottingId, () => {
|
|
@@ -421,9 +422,10 @@ const initDrawMethod = (options) => {
|
|
|
obj.on('rightclick', handleRightClick);
|
|
|
emits('handleSendData', JSON.stringify({
|
|
|
operation: 'add', // 必填
|
|
|
+ id: data.id,
|
|
|
name: data.title, // 必填
|
|
|
content: JSON.stringify(data), // 必填
|
|
|
- visible: false
|
|
|
+ visible: '1'
|
|
|
}))
|
|
|
};
|
|
|
mouseTool.on('draw', onDraw);
|