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