From 0f1ce99a25461762416d24db7f8b436a53c2d624 Mon Sep 17 00:00:00 2001 From: PPPSCN <35696959@qq.com> Date: Sun, 17 Feb 2019 15:23:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9Bfast.js=E6=9F=A5=E8=AF=A2Url?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/js/fast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/js/fast.js b/public/assets/js/fast.js index aad06de2..20211e07 100644 --- a/public/assets/js/fast.js +++ b/public/assets/js/fast.js @@ -104,7 +104,7 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang'], function ($, undefine url = window.location.href; } name = name.replace(/[\[\]]/g, "\\$&"); - var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), + var regex = new RegExp("[?&/]" + name + "([=/]([^&#/?]*)|&|#|$)"), results = regex.exec(url); if (!results) return null;