Skip to content

Commit

Permalink
Merge pull request #54 from Enraged-Dun-Cookie-Development-Team/hotfi…
Browse files Browse the repository at this point in the history
…x-bv_change

适配bv号编号改变
  • Loading branch information
phidiaLam authored Feb 1, 2024
2 parents c3ac85b + 900c399 commit 2f97ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/canteen/videoList/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default {
components: { FormButton, draggable },
data() {
let validBV = (rule, value, callback) => {
let pattern = /^(BV)?1..4(1|y)1.7..$/i;
let pattern = /^(BV)?1..4.1.7..$/i;
if (!pattern.test(value)) {
callback(new Error("你这BV号好像不太对诶"));
} else {
Expand Down

0 comments on commit 2f97ce3

Please sign in to comment.