修改线上接口地址
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user