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

master
iczer 5 years ago
parent 3d568c6caa
commit 63d9407a4a
  1. 6
      src/components/setting/Setting.vue

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

Loading…
Cancel
Save