'ss'
This commit is contained in:
@@ -67,17 +67,19 @@ const config = {
|
||||
},
|
||||
},
|
||||
},
|
||||
// customRoutes: {
|
||||
// // "页面路径": "自定义路由"
|
||||
// "/pages/index/index": "/index",
|
||||
// // '/pages/detail/index': ['/detail'], // 可以通过数组为页面配置多个自定义路由
|
||||
// "pages/my/index": "/my",
|
||||
// "pages/meetup/index": "/meetup",
|
||||
// "pages/meetup/Detail/index": "/detail",
|
||||
// },
|
||||
|
||||
router: {
|
||||
// basename: '/myapp',
|
||||
mode: "hash", // 或者是 'browser'
|
||||
mode: "browser", // 或者是 'hash'
|
||||
customRoutes: {
|
||||
// "页面路径": "自定义路由"
|
||||
"/pages/index/index": "/",
|
||||
"/pages/book/index": "/book",
|
||||
// // '/pages/detail/index': ['/detail'], // 可以通过数组为页面配置多个自定义路由
|
||||
// "pages/my/index": "/my",
|
||||
// "pages/meetup/index": "/meetup",
|
||||
// "pages/meetup/Detail/index": "/detail",
|
||||
},
|
||||
},
|
||||
// defineConstants: {
|
||||
// HOST: '"/api"'
|
||||
|
||||
Reference in New Issue
Block a user