From 7ddc23a4fc0fba118c3a69b3a7fe05073d789ea2 Mon Sep 17 00:00:00 2001 From: amuliang <982632988@qq.com> Date: Sat, 4 Nov 2023 14:28:15 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20html/index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/index.html b/html/index.html index 6b49e41..c4759c7 100644 --- a/html/index.html +++ b/html/index.html @@ -160,7 +160,7 @@ let current_item = this.current_item; let title = current_item.title.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: { @@ -254,6 +254,7 @@ }); }else { this.handleStore(); + this.is_storing = false; } }, async handleCheckMusicExists() {