浏览代码

fix:用使用的曲子

liushengqiang 2 年之前
父节点
当前提交
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]);
 			});