From 63d9407a4a51b949e25ad60f338d5c58996f5fea Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Sat, 20 Jun 2020 14:52:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E5=8A=A8=E7=94=BB=E6=96=B9=E5=90=91=E4=B8=8D=E8=83=BD=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=9A=84bug=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/setting/Setting.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/setting/Setting.vue b/src/components/setting/Setting.vue index 33c3331..8cd0eeb 100644 --- a/src/components/setting/Setting.vue +++ b/src/components/setting/Setting.vue @@ -105,6 +105,9 @@ export default { } }, watch: { + animate() { + this.direction = this.directions[0] + } }, computed: { directions() { @@ -144,8 +147,7 @@ export default { this.$store.commit('setting/setWeekMode', checked) }, setAnimate() { - this.direction = this.directions[0] - let animate = { + let animate = { name: this.animate, direction: this.direction }