From 6b97cd78adb856cfdb6f0ec86bb4b1652d12c34f Mon Sep 17 00:00:00 2001 From: 12451 <12451@example.com> Date: Fri, 3 Jul 2026 03:01:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20H5=20=E7=99=BD=E5=B1=8F=20-=20index.html?= =?UTF-8?q?=20=E9=A2=84=E5=8A=A0=E8=BD=BD=E8=84=9A=E6=9C=AC=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=A0=B9=E8=B7=AF=E5=BE=84=E9=BB=98=E8=AE=A4=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E5=88=B0=E7=99=BB=E5=BD=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ software/h5-taro/config/index.js | 5 ----- software/h5-taro/src/index.html | 9 +++++++-- 3 files changed, 10 insertions(+), 7 deletions(-) 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 @@ 安知充