浏览代码

Merge branch 'feature_20250926_数字题型&单行文本题型' into uat(dev)

zhujindu 2 月之前
父节点
当前提交
c1e142e550
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/deviceWithin/addStoreVisit.vue

+ 1 - 1
src/views/deviceWithin/addStoreVisit.vue

@@ -4425,7 +4425,7 @@ export default {
             return;
           }
         }
-        if (!/^[\u4e00-\u9fa5]+(·[\u4e00-\u9fa5]+)*$/.test(value)) {
+        if (!/^[\u4e00-\u9fa5]+(·[\u4e00-\u9fa5]*)*·?$/.test(value)) {
           this.$set(itemData, 'ruleMessage', '只能输入中文');
           this.validatorFlag = false;
           return;