liushengqiang 1 year ago
parent
commit
3b148c5168
2 changed files with 7 additions and 0 deletions
  1. 5 0
      public/jianpu/index.html
  2. 2 0
      src/pc/home/index.tsx

+ 5 - 0
public/jianpu/index.html

@@ -8,6 +8,11 @@
   <title>简谱</title>
 
   <!-- <script src="./snd-1.js"></script> -->
+  <style>
+    svg text[text-anchor="end"]+text[text-anchor="end"]{
+      display: none;
+    }
+  </style>
 </head>
 
 <body>

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

@@ -1525,6 +1525,8 @@ export default defineComponent({
 				if (abc) {
 					console.log("🚀 ~ abc:", abc);
 					data.musicName = abc.title ?? data.musicName;
+					abcData.abc.title = data.musicName;
+					abcData.abc.creator = data.creator;
 					abcData.abc.celf = abc.celf || "K:treble";
 					abcData.abc.key = abc.key.value || abc.key || "K:C";
 					abcData.abc.meter = abc.meter.value || abc.meter || "M:4/4";