From 8b3afdc6dcdb96a1f4125c511797195367af8797 Mon Sep 17 00:00:00 2001 From: kylin L <452061493@qq.com> Date: Mon, 6 May 2024 16:13:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E8=B7=AF=E7=94=B1=E6=8B=A6?= =?UTF-8?q?=E6=88=AA=E5=99=A8=E5=B9=B6=E5=88=A4=E6=96=ADstring=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=80=BC=E7=9A=84=E9=95=BF=E5=BA=A6=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E8=B6=85=E8=BF=8733?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/globalRouter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/globalRouter.js b/src/common/globalRouter.js index 2eb98a1..504939c 100644 --- a/src/common/globalRouter.js +++ b/src/common/globalRouter.js @@ -33,7 +33,7 @@ $globalRouter.beforeEach((to, from, next) => { } } else { if (to.query[key].toString().length > 33) { - to.query[key] = 0; + to.query[key] = ""; } } } @@ -47,7 +47,7 @@ $globalRouter.beforeEach((to, from, next) => { } } else { if (to.params[key].toString().length > 33) { - to.params[key] = 0; + to.params[key] = ""; } } }