|
@@ -30,7 +30,7 @@ const { isRequestRoutes } = themeConfig.value;
|
|
|
* @link 参考:https://next.router.vuejs.org/zh/api/#createrouter
|
|
|
*/
|
|
|
export const router = createRouter({
|
|
|
- history: createWebHistory(),
|
|
|
+ history: createWebHistory('/app'),
|
|
|
/**
|
|
|
* 说明:
|
|
|
* 1、notFoundAndNoPower 默认添加 404、401 界面,防止一直提示 No match found for location with path 'xxx'
|