浏览代码

fix: fixed error action name (#339)

PLAsusu 6 年之前
父节点
当前提交
b2fe1a22e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/layout/index.vue

+ 1 - 1
src/layout/index.vue

@@ -44,7 +44,7 @@ export default {
   },
   },
   methods: {
   methods: {
     handleClickOutside() {
     handleClickOutside() {
-      this.$store.dispatch('CloseSideBar', { withoutAnimation: false })
+      this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
     }
     }
   }
   }
 }
 }