mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
修复: 解决动画方向不能选择的bug;
This commit is contained in:
parent
3d568c6caa
commit
63d9407a4a
@ -105,6 +105,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
animate() {
|
||||||
|
this.direction = this.directions[0]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
directions() {
|
directions() {
|
||||||
@ -144,7 +147,6 @@ 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…
x
Reference in New Issue
Block a user