|
@@ -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;
|