Commit 6aab392f authored by jiaxu.yan's avatar jiaxu.yan

feat: 权限更新

parent 4971520c
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</el-menu-item> </el-menu-item>
<el-menu-item <el-menu-item
index="my" index="my"
v-if="roles[0].roleKey === 'unit_leader'"
@click.native="goPage('my')" @click.native="goPage('my')"
> >
<!-- v-if="roles[0].roleKey === 'unit_leader'" --> <!-- v-if="roles[0].roleKey === 'unit_leader'" -->
...@@ -58,10 +58,10 @@ ...@@ -58,10 +58,10 @@
</el-menu-item> </el-menu-item>
<el-menu-item <el-menu-item
index="myGroup" index="myGroup"
v-if="roles[0].roleKey === 'unit_leader'"
@click.native="goPage('myGroup')" @click.native="goPage('myGroup')"
> >
<!-- --> <!-- v-if="roles[0].roleKey === 'unit_leader'" -->
<span slot="title">我的小组</span> <span slot="title">我的小组</span>
</el-menu-item> </el-menu-item>
<el-menu-item <el-menu-item
......
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