Parcourir la source

打谱软件

1
mo il y a 1 an
Parent
commit
27735690e2
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      src/pc/home/index.tsx

+ 6 - 0
src/pc/home/index.tsx

@@ -639,6 +639,12 @@ export default defineComponent({
 					);
 				} else {
 					window.close();
+					window.parent.postMessage(
+						{
+							api: "notation_exit",
+						},
+						"*"
+					);
 				}
 			}
 			// console.log(params, activeNote);