Commit 581b4598 by 黄志甲

删除测试权限操作

parent b58fae41
...@@ -21,9 +21,6 @@ export default { ...@@ -21,9 +21,6 @@ export default {
width: 150px; width: 150px;
} }
/*测试*/ /*测试*/
.testBorder{ .testBorder{
border: 2px solid #4CD964; border: 2px solid #4CD964;
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
<!-- <Menu theme="dark" ref="side_menu" width="auto" :active-name="$route.path" accordion> --> <!-- <Menu theme="dark" ref="side_menu" width="auto" :active-name="$route.path" accordion> -->
<Submenu <Submenu
:name="index+1" v-for="(item,index) in menu[headerIndex].children" :key="index" :name="index+1" v-for="(item,index) in menu[headerIndex].children" :key="index"
v-if="item.children && currentShow(item)"
> >
<template slot="title"> <template slot="title">
<Icon :type="item.icon"></Icon> <Icon :type="item.icon"></Icon>
...@@ -21,8 +20,7 @@ ...@@ -21,8 +20,7 @@
:name="`${index+1}-${i+1}`" :name="`${index+1}-${i+1}`"
v-for="(v,i) in item.children" v-for="(v,i) in item.children"
:key="i" :to="v.path" :key="i" :to="v.path"
v-if="utils.hasRole(v.action)" @click.native="onSelect(index,i)">
@click.native="onSelect(index,i)">
{{index+1+'-'+(i+1)}} {{index+1+'-'+(i+1)}}
{{v.title}} {{v.title}}
</MenuItem> </MenuItem>
......
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