diff --git a/.gitignore b/.gitignore index cad06d0..3e7bf93 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,9 @@ tasks/ # Build artifacts dist/ +# SWC compiler platform plugins (auto-downloaded by Taro) +.swc/ + # Test 换电柜用锂电池充电器1TN标准通信协议*.pdf 生产环境.txt diff --git a/software/h5-taro/config/index.js b/software/h5-taro/config/index.js index b7459c5..e6ab532 100644 --- a/software/h5-taro/config/index.js +++ b/software/h5-taro/config/index.js @@ -38,11 +38,6 @@ const config = { staticDirectory: 'static', router: { mode: 'browser', - customRoutes: { - '/pages/home/index': '/pms/home', - '/pages/devices/index': '/pms/devices', - '/pages/me/index': '/pms/me', - }, }, postcss: { autoprefixer: { enable: true, config: {} }, diff --git a/software/h5-taro/src/index.html b/software/h5-taro/src/index.html index 49400c0..337785d 100644 --- a/software/h5-taro/src/index.html +++ b/software/h5-taro/src/index.html @@ -5,12 +5,17 @@ 安知充