From 457f9c817adef8b003ee6379f493798bae5cbb69 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Mon, 19 May 2025 09:31:19 +0800
Subject: [PATCH] 修改
---
src/util/validate.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/util/validate.js b/src/util/validate.js
index 71e4366..8489a95 100644
--- a/src/util/validate.js
+++ b/src/util/validate.js
@@ -370,3 +370,8 @@
// true:车牌号正确
else return true;
}
+
+export function verifySimpleContent(val) {
+ var regex = /^[^\u3010-\u3011]*$/; // 正则表达式,\d 匹配数字,{11} 表示匹配11次
+ return regex.test(val);
+}
--
Gitblit v1.9.2