From b4cd127ff26475d02474674050a68a91efdb6349 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Sat, 21 Feb 2026 12:24:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=A7=E6=A3=9A=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/addAgri/addAgri.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/addAgri/addAgri.vue b/components/addAgri/addAgri.vue index 9aa58f0..e60ca0d 100644 --- a/components/addAgri/addAgri.vue +++ b/components/addAgri/addAgri.vue @@ -71,7 +71,7 @@ export default { errorMessage: '{label}不合法!需为 {maxLength} 位!', }, { - pattern: /^\d{15}$/, // 核心正则 + pattern: '^\\d{15}$', // 核心正则 errorMessage: '请输入15位纯数字编号' } ],