194ac61a by yyx

1

1 parent 0b6f8d31
...@@ -70,7 +70,7 @@ const payment = reactive({ ...@@ -70,7 +70,7 @@ const payment = reactive({
70 "Please enter the contact phone number." 70 "Please enter the contact phone number."
71 ), 71 ),
72 }); 72 });
73 if (/^[1][3,4,5,7,8][0-9]{9}$/.test(payment.form.phone)) { 73 if (!/^[1][3,4,5,7,8][0-9]{9}$/.test(payment.form.phone)) {
74 return ElMessage({ 74 return ElMessage({
75 type: "warning", 75 type: "warning",
76 message: languageFormat( 76 message: languageFormat(
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!