浏览代码

Update index.vue

lex-xin 6 月之前
父节点
当前提交
f1ddc59296
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/views/Editor/EditorHeader/index.vue

+ 6 - 0
src/views/Editor/EditorHeader/index.vue

@@ -124,6 +124,12 @@ function handleSave() {
 /* 关闭页面 */
 /* 关闭页面 */
 function handleClose() {
 function handleClose() {
   window.close()
   window.close()
+  window.parent.postMessage(
+    {
+      api: "notation_exit",
+    },
+    "*"
+  );
 }
 }
 </script>
 </script>