fix: 采用import.meta.glob方法匹配动态路由

This commit is contained in:
xiaoxian521
2021-05-28 01:14:05 +08:00
parent 07aff1fcfc
commit ad0281839f
2 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<h4>
当前角色
<span style="font-size:26px">{{ purview }}</span>
<p style="color: #FFA500">查看左侧菜单变化(系统管理)模拟后台根据不同角色返回对应路由</p>
<p style="color:#FFA500">查看左侧菜单变化(系统管理)模拟后台根据不同角色返回对应路由</p>
</h4>
<el-button type="primary" @click="changRole">切换角色</el-button>
</div>