浏览代码

Merge branch '2023-8-28'

liushengqiang 1 年之前
父节点
当前提交
ccc0f0d0e4
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/pc/home/index.tsx

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

@@ -1737,6 +1737,7 @@ export default defineComponent({
 		};
 
 		const handleExport = () => {
+			data.active = null as unknown as INoteActive;
 			const input = document.createElement("input");
 			input.type = "file";
 			input.accept = ".xml,.musicxml";
@@ -1808,6 +1809,7 @@ export default defineComponent({
 		};
 
 		const handleUpdate = async () => {
+			if (data.saveLoading) return;
 			if (!data.isSave) {
 				await handleSaveMusic();
 			}