liushengqiang 2 лет назад
Родитель
Сommit
b601c544ff
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/page-instrument/view-detail/index.tsx

+ 1 - 1
src/page-instrument/view-detail/index.tsx

@@ -156,7 +156,7 @@ export default defineComponent({
 
 		onMounted(() => {
 			(window as any).appName = "colexiu";
-			const id = "43541" || query.id;
+			const id = query.id || "43541";
 			Promise.all([sysMusicScoreAccompanimentQueryPage(id)]).then((values) => {
 				getMusicInfo(values[0]);
 			});