@@ -1,6 +1,6 @@
/* 去除字符串中的特殊符号 */
const queryStr = (str, title = '该符号不可输入!') => {
- const pattern = new RegExp(/[`$%^&()\=<>"{}|\/;'\\[\]·¥%……&——\={}|]/g);
+ const pattern = new RegExp(/[`$%^&()\=<>"{}|\/;'\\[\]·%……&——\={}|]/g);
if (pattern.test(str) == true && title) wx.showToast({
title,
icon: "none"