优化 permission 相关的注释

This commit is contained in:
YunaiV
2022-10-23 20:21:04 +08:00
parent a13fb61359
commit 3cee922e69
8 changed files with 27 additions and 23 deletions

View File

@ -67,7 +67,7 @@ export default {
},
// 设置子路由
childrenMenus() {
var childrenMenus = [];
const childrenMenus = [];
this.routers.map((router) => {
for (var item in router.children) {
if (router.children[item].parentPath === undefined) {