lex-xin 6 месяцев назад
Родитель
Сommit
8426fc1349
1 измененных файлов с 1 добавлено и 12 удалено
  1. 1 12
      src/views/accompaniment/index.vue

+ 1 - 12
src/views/accompaniment/index.vue

@@ -532,23 +532,12 @@ export default {
       );
     },
     async looker(row, num) {
-      try {
-        this.selectPart = 0;
-        const res = await fetch(row.xmlUrl);
-        const text = await res.text();
-        this.parts = this.getPartListNames(text);
-      } catch (error) {
-        this.parts = [];
-        this.selectPart = 0;
-      }
       this.accompanyUrl =
         location.origin + '/gym-music-score/' +
         "?Authorization=" +
         getToken() +
         "&systemType=web&isHideBack=1&isHideMusicList=1&id=" +
-        row.id +
-        "&part-index=" +
-        this.selectPart;
+        row.id;
       this.lookVisible = true;
       this.lookNum = num;
       this.lookRow = row;