!159 eslint升级v9版本

* update: eslint升级v9版本 & 更新一些不符合校验规则的代码
This commit is contained in:
玲娜贝er
2024-11-27 07:39:34 +00:00
committed by LiuHao
parent f3425493ed
commit 845b848b60
9 changed files with 102 additions and 36 deletions

View File

@ -40,7 +40,7 @@ router.beforeEach(async (to, from, next) => {
router.addRoute(route); // 动态添加可访问路由表
}
});
// @ts-ignore
// @ts-expect-error hack方法 确保addRoutes已完成
next({ path: to.path, replace: true, params: to.params, query: to.query, hash: to.hash, name: to.name as string }); // hack方法 确保addRoutes已完成
}
} else {