Parcourir la source

Merge branch '2023-9-5_简谱和节奏'

liushengqiang il y a 1 an
Parent
commit
743d753c9c
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      src/pc/create/component/the-create/index.tsx
  2. 1 1
      src/pc/create/index.tsx

+ 1 - 1
src/pc/create/component/the-create/index.tsx

@@ -127,7 +127,7 @@ export default defineComponent({
 		};
 
 		const handleOpenNotaion = (data: any) => {
-			const url = `${location.origin}/notation/#/?v=1.0.4&config=${encodeUrl(data)}`;
+			const url = `${location.origin}/notation/#/?v=${Date.now()}&config=${encodeUrl(data)}`;
 			// console.log("🚀 ~ url:", url);
 			window.parent.postMessage(
 				{

+ 1 - 1
src/pc/create/index.tsx

@@ -120,7 +120,7 @@ export default defineComponent({
 			window.parent.postMessage(
 				{
 					api: "notation_open",
-					url: `${location.origin}/notation/#/?v=1.0.3&id=${item.id}`,
+					url: `${location.origin}/notation/#/?v=${Date.now()}&id=${item.id}`,
 				},
 				"*"
 			);