1mian.js 的
2 vuex 的 index设置
3 store 默认是用的 root下边的 配置
例如 action方法 setAdminInfo
this.$store.dispatch("setAdminInfo");
如果写在 control 下边的话 这样调用用control/setAdminInfo
this.$store.dispatch("control/setAdminInfo");
1mian.js 的
2 vuex 的 index设置
3 store 默认是用的 root下边的 配置
例如 action方法 setAdminInfo