Browse Source

feat: fine标记位置不对的问题修复

TIANYONG 2 months ago
parent
commit
4ee7f114bc
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/helpers/customMusicScore.ts
  2. 2 2
      vite.config.ts

+ 1 - 1
src/helpers/customMusicScore.ts

@@ -659,7 +659,7 @@ export const resetFormate = () => {
 		});
 
 		// 修复D.C、D.S等渲染位置不对的问题
-		const repairWord = ["D.S.", "D.C."];
+		const repairWord = ["D.S.", "D.C.", "Fine"];
 		[...vfmeasures].forEach((measure: any) => {
 			const needRepairTexts = measure.querySelectorAll('text').length ? Array.from(measure.querySelectorAll('text'))?.filter((item: any) => repairWord.includes(item?.textContent)) : [];
 			if (needRepairTexts.length) {

+ 2 - 2
vite.config.ts

@@ -76,8 +76,8 @@ export default defineConfig({
         // target: "https://kt.colexiu.com",
         // target: "https://test.lexiaoya.cn",
         // target: "https://kt.colexiu.com",
-        // target: "https://dev.resource.colexiu.com", // 内容平台开发环境,内容平台开发,需在url链接上加上isCbs=true
-        target: "https://test.kt.colexiu.com",
+        target: "https://dev.resource.colexiu.com", // 内容平台开发环境,内容平台开发,需在url链接上加上isCbs=true
+        // target: "https://test.kt.colexiu.com",
         // target: "https://mec.colexiu.com",
         changeOrigin: true,
         rewrite: (path) => path.replace(/^\/instrument/, ""),