Commit 8505a0aa by liang ce

menu 判断

parent c1817aec
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@click="routerPush" @click="routerPush"
> >
<a-menu-item key="accountManagement" v-if="this.$store.state.menuList.indexOf('3000') > -1">支付管理</a-menu-item> <a-menu-item key="accountManagement" v-if="this.$store.state.menuList.indexOf('3000') > -1">支付管理</a-menu-item>
<a-menu-item key="classificationOfDishes" v-if="this.$store.state.menuList.indexOf('4000' > -1)">食堂管理</a-menu-item> <a-menu-item key="classificationOfDishes" v-if="this.$store.state.menuList.indexOf('4000') > -1">食堂管理</a-menu-item>
<!-- <a-menu-item key="historicalVisitors">访客管理</a-menu-item> --> <!-- <a-menu-item key="historicalVisitors">访客管理</a-menu-item> -->
<a-menu-item key="rightsManagement" v-if="this.$store.state.menuList.indexOf('9000') > -1">权限管理</a-menu-item> <a-menu-item key="rightsManagement" v-if="this.$store.state.menuList.indexOf('9000') > -1">权限管理</a-menu-item>
</a-menu> </a-menu>
......
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