update

parent e8d80647
...@@ -579,13 +579,13 @@ export default defineComponent({ ...@@ -579,13 +579,13 @@ export default defineComponent({
); );
} }
if (!isMobilePhone(phoneNumber.value as string)) { // if (!isMobilePhone(phoneNumber.value as string)) {
hasError = true; // hasError = true;
phoneNumberRules.value = true; // phoneNumberRules.value = true;
errorMessPhoneNumber.value = i18n.global.t( // errorMessPhoneNumber.value = i18n.global.t(
'artist.artistInformation.validateMessages.isPhone' // 'artist.artistInformation.validateMessages.isPhone'
); // );
} // }
if (!email.value || !email.value?.trim().length) { if (!email.value || !email.value?.trim().length) {
hasError = true; hasError = true;
emailRules.value = true; emailRules.value = true;
...@@ -593,13 +593,13 @@ export default defineComponent({ ...@@ -593,13 +593,13 @@ export default defineComponent({
'artist.artistInformation.validateMessages.requireEmail' 'artist.artistInformation.validateMessages.requireEmail'
); );
} }
if (!isEmail(email.value as string)) { // if (!isEmail(email.value as string)) {
hasError = true; // hasError = true;
emailRules.value = true; // emailRules.value = true;
errorMessEmail.value = i18n.global.t( // errorMessEmail.value = i18n.global.t(
'artist.artistInformation.validateMessages.isEmail' // 'artist.artistInformation.validateMessages.isEmail'
); // );
} // }
if (artistLevel.value === null) { if (artistLevel.value === null) {
hasError = true; hasError = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment