修复: 解决动画方向不能选择的bug;

This commit is contained in:
iczer 2020-06-20 14:52:48 +08:00
parent 3d568c6caa
commit 63d9407a4a

View File

@ -105,6 +105,9 @@ export default {
}
},
watch: {
animate() {
this.direction = this.directions[0]
}
},
computed: {
directions() {
@ -144,7 +147,6 @@ export default {
this.$store.commit('setting/setWeekMode', checked)
},
setAnimate() {
this.direction = this.directions[0]
let animate = {
name: this.animate,
direction: this.direction