|
@@ -55,10 +55,9 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
cashUpdate () {
|
|
cashUpdate () {
|
|
|
- this.$store.dispatch('user/getDict')
|
|
|
|
|
- window.setTimeout(() => {
|
|
|
|
|
|
|
+ this.$store.dispatch('user/getDict').then(() => {
|
|
|
this.$router.go(0)
|
|
this.$router.go(0)
|
|
|
- }, 100)
|
|
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
toggleSideBar() {
|
|
toggleSideBar() {
|
|
|
this.$store.dispatch('app/toggleSideBar')
|
|
this.$store.dispatch('app/toggleSideBar')
|