浏览代码

temp save

liujq 4 年之前
父节点
当前提交
b6cfa5bada

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.3ddb9421.css


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.20a72103.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.b03a5e90.js


+ 2 - 3
src/layout/components/Navbar.vue

@@ -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')

部分文件因为文件数量过多而无法显示