From 783e094ad5835de04c160cb8b4406132e3133698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=A2=A7=E8=97=A4?= <2957035701@qq.com> Date: Mon, 30 Sep 2024 22:27:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8Dbv=E5=8F=B7?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/canteen/videoList/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/canteen/videoList/index.vue b/src/views/canteen/videoList/index.vue index c16fc03..a08c6eb 100644 --- a/src/views/canteen/videoList/index.vue +++ b/src/views/canteen/videoList/index.vue @@ -102,7 +102,7 @@ export default { components: { FormButton, draggable }, data() { let validBV = (rule, value, callback) => { - let pattern = /^(BV)?1..4.1.7..$/i; + let pattern = /^(BV)?[a-zA-Z0-9]{10}$/i; if (!pattern.test(value)) { callback(new Error("你这BV号好像不太对诶")); } else {