Handy_Cao hace 1 año
padre
commit
c503660d99
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/packages/mobile/views/account/certification/Index.vue

+ 4 - 0
src/packages/mobile/views/account/certification/Index.vue

@@ -200,6 +200,10 @@ const formRules: { [key: string]: FieldRule[] } = {
 
 const onSubmit = () => {
     fullloading((hideLoading) => {
+        // 手机号+区号
+        if (userStore.userInfo.mobile2 === '') {
+            formData.mobilephone = countryCode.value + formData.mobilephone
+        }
         formSubmit().then((res) => {
             /// 失败
             if (res.code.toString() != '0') {