Commit 46f8ac51 by 姜雷

在图标组件中添加数据页面的store

parent 33734f98
......@@ -69,6 +69,7 @@
import MenuItem from './components/MenuItem';
import { mapGetters } from 'vuex';
import { formatRouteLink, getMenuDataById } from '@/utils/route';
import store from '@/containers/Dashboard/store';
export default {
name: 'IconMenus',
......@@ -88,6 +89,9 @@ export default {
type: Function,
},
},
created() {
store.install(this.$store);
},
data() {
return {
collectRouteList: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment