From d1da4f69e095fcaec4c904b2060f9db1c29d3318 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Wed, 23 Feb 2022 18:07:47 +0800 Subject: [PATCH] fix issue --- web_src/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index 1abf3ba38..785dbde77 100755 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -3618,7 +3618,7 @@ function initVueApp() { if (!window.location.search) { window.location.href = this.localHref + '?page='+val } else if (searchParams.has('page')) { - window.location.href = this.localHref.replace(/page=[0-9]/g,'page='+val) + window.location.href = this.localHref.replace(/page=[0-9]+/g,'page='+val) } else { window.location.href=location.href+'&page='+val }