Browse Source

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

zhujindu 1 month ago
parent
commit
c1e142e550
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/deviceWithin/addStoreVisit.vue

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

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