From 030b13a0f8ef0344463cb5950066dfdce72f4344 Mon Sep 17 00:00:00 2001 From: xierz Date: Fri, 20 Nov 2020 11:49:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E9=9F=B3=E6=AD=A3=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/manager/cms/category/form.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/manager/cms/category/form.ftl b/src/main/webapp/WEB-INF/manager/cms/category/form.ftl index 38251cbe..ef68e4dc 100644 --- a/src/main/webapp/WEB-INF/manager/cms/category/form.ftl +++ b/src/main/webapp/WEB-INF/manager/cms/category/form.ftl @@ -378,7 +378,7 @@ this.rules.categoryPinyin = [{ "validator": this.validatorCategoryPinyin, trigger: 'blur' }, { - "pattern": /^[^[!@#$"'%^&*()_+-/~?!@#¥%…&*()——+—?》《:“‘’]+$/, + "pattern": /^[^[!@#$"'%^&*()_+-/~?!\\、@#¥%…&*()——+—?》《:“‘’\s]+$/, "message": "拼音格式不匹配" }]; if (this.regularCheck(regu, n)) {