From 8729184ba970cef956e4b4e8d36ebe025901aa96 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Fri, 9 Oct 2020 16:16:58 +0200 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=97=E8=A1=A8=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Setting.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Setting.vue b/src/components/Setting.vue index c0381d9..c63bb81 100644 --- a/src/components/Setting.vue +++ b/src/components/Setting.vue @@ -327,6 +327,7 @@ export default { excludeR18Films: res.excludeR18Films, forwardTimeInSec: res.forwardTimeInSec } + this.setting = this.d }) }, getSites () { @@ -346,10 +347,8 @@ export default { }, changeView (e) { this.d.view = e - setting.update(this.d).then(res => { - this.$message.success('修改成功') - this.show.view = false - }) + this.updateSettingEvent() + this.show.view = false }, updateSettingEvent () { this.editPlayerPath = false