修改线上接口地址

This commit is contained in:
2026-08-31 10:05:51 +08:00
parent 76fe37d378
commit 5ecd8ac95c
5 changed files with 565 additions and 464 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ export const useRouteStore = defineStore(SetupStoreId.Route, () => {
* @param {string} parentPath - 父级路径(用于拼接相对路径,本例中所有路径都是绝对路径,可忽略)
* @returns {Array} 过滤后的路由数组
*/
function filterRoutesByPaths(routes: ElegantConstRoute[], allowedPaths: string[], parentPath = '') {
function filterRoutesByPaths(routes: ElegantConstRoute[], allowedPaths: string[], parentPath = ''):any {
const result = [];
const pathSet = new Set(allowedPaths);