添加了一些eslint的rule。

This commit is contained in:
2023-02-06 00:41:47 +08:00
parent 1763154fa2
commit 555611ca96
5 changed files with 36 additions and 19 deletions

View File

@@ -2,7 +2,7 @@
* @Author: Kane
* @Date: 2023-01-04 11:30:33
* @LastEditors: Kane
* @LastEditTime: 2023-02-05 23:38:54
* @LastEditTime: 2023-02-06 00:25:26
* @FilePath: /IT/src/layout/components/Aside.vue
* @Description:
*
@@ -54,8 +54,8 @@ export default {
name: "LayoutAside",
setup()
{
const router = useRouter();
const routes = router.getRoutes();
const router = useRouter();//路由
const routes = router.getRoutes();//路由数组
const store = useStore();
//用于判断一个路由是否只有一项子路由