fix: 修复配置文档中的表格格式;添加路由配置示例
This commit is contained in:
@@ -127,8 +127,8 @@ export class AssistantApp extends Manager {
|
||||
}
|
||||
async initRouterApp() {
|
||||
const config = this.config.getConfig();
|
||||
const routerProxy = config.router.proxy || [];
|
||||
const base = config.router.base ?? false;
|
||||
const routerProxy = config?.router?.proxy || [];
|
||||
const base = config.router?.base ?? false;
|
||||
if (base) {
|
||||
routerProxy.push({
|
||||
type: 'router',
|
||||
|
||||
Reference in New Issue
Block a user