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