perf: 使用/** */替换//注释,对编辑器的智能提示更友好

This commit is contained in:
xiaoxian521
2022-09-11 16:46:01 +08:00
parent fafbdc7c69
commit f14889ef56
15 changed files with 50 additions and 51 deletions

View File

@@ -20,7 +20,7 @@ export const usePermissionStore = defineStore({
cachePageList: []
}),
actions: {
// 获取异步路由菜单
/** 获取异步路由菜单 */
asyncActionRoutes(routes) {
if (this.wholeMenus.length > 0) return;
this.wholeMenus = filterTree(
@@ -61,7 +61,7 @@ export const usePermissionStore = defineStore({
break;
}
},
// 清空缓存页面
/** 清空缓存页面 */
clearAllCachePage() {
this.wholeMenus = [];
this.menusTree = [];