diff --git a/software/h5-taro/config/index.js b/software/h5-taro/config/index.js index e6ab532..19a301e 100644 --- a/software/h5-taro/config/index.js +++ b/software/h5-taro/config/index.js @@ -38,6 +38,7 @@ const config = { staticDirectory: 'static', router: { mode: 'browser', + basename: '/h5/', }, postcss: { autoprefixer: { enable: true, config: {} }, diff --git a/software/h5-taro/src/app.config.ts b/software/h5-taro/src/app.config.ts index a3c644b..bfeda26 100644 --- a/software/h5-taro/src/app.config.ts +++ b/software/h5-taro/src/app.config.ts @@ -1,11 +1,11 @@ export default { pages: [ - 'pages/login/index', 'pages/home/index', 'pages/devices/index', + 'pages/me/index', + 'pages/login/index', 'pages/device-detail/index', 'pages/compartment-detail/index', - 'pages/me/index', ], window: { backgroundTextStyle: 'light', diff --git a/software/h5-taro/src/index.html b/software/h5-taro/src/index.html index 337785d..02751dd 100644 --- a/software/h5-taro/src/index.html +++ b/software/h5-taro/src/index.html @@ -5,17 +5,17 @@