更新 html/index.html
parent
bbe17b148c
commit
7ddc23a4fc
|
@ -160,7 +160,7 @@
|
||||||
let current_item = this.current_item;
|
let current_item = this.current_item;
|
||||||
let title = current_item.title.replace(/[\/\\\:]+/g, '_');
|
let title = current_item.title.replace(/[\/\\\:]+/g, '_');
|
||||||
let author = current_item.author.replace(/[\/\\\:]+/g, '_');
|
let author = current_item.author.replace(/[\/\\\:]+/g, '_');
|
||||||
return this.store_path_root + this.store_path.replaceAll("{title}", title).replaceAll("{author}", author) + '.' + this.current_item.extension;
|
return this.store_path_root + this.store_path.replaceAll("{title}", title).replaceAll("{author}", author) + (!!this.current_item.extension?'.' + this.current_item.extension : '');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -254,6 +254,7 @@
|
||||||
});
|
});
|
||||||
}else {
|
}else {
|
||||||
this.handleStore();
|
this.handleStore();
|
||||||
|
this.is_storing = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async handleCheckMusicExists() {
|
async handleCheckMusicExists() {
|
||||||
|
|
Loading…
Reference in New Issue