mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix: 修复部分已知的问题
This commit is contained in:
@ -97,7 +97,9 @@ export const useRouteStore = defineStore(SetupStoreId.Route, () => {
|
||||
// @ts-expect-error no query field
|
||||
const query = route.query ? String(route.query) : undefined;
|
||||
route.path = route.path.startsWith('//') ? route.path.substring(1) : route.path;
|
||||
route.path = parent ? parent.path + route.path : route.path;
|
||||
const name = humpToLine(route.path.substring(1).replace('/', '_'));
|
||||
|
||||
route.name = parent ? `${parent.name}_${name}` : name;
|
||||
|
||||
route.meta = route.meta ? route.meta : { title: route.name };
|
||||
|
Reference in New Issue
Block a user