Handy_Cao il y a 2 ans
Parent
commit
ad4efd6ffd
1 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. 9 9
      src/packages/qxst/views/account/certification/Index.vue

+ 9 - 9
src/packages/qxst/views/account/certification/Index.vue

@@ -123,16 +123,16 @@ const formRules: { [key in keyof Model.AddUserReq]?: FieldRule[] } = {
 }
 
 const onSubmit = () => {
-    // fullloading((hideLoading) => {
-    //     formSubmit().then(() => {
-    //         hideLoading()
-    //         dialog('实名认证提交请求成功').then(() => {
+    fullloading((hideLoading) => {
+        formSubmit().then(() => {
+            hideLoading()
+            dialog('实名认证提交请求成功').then(() => {
                 /// 进行下一步
                 openComponent('certification-next')
-    //         })
-    //     }).catch((err) => {
-    //         showFailToast(err)
-    //     })
-    // })
+            })
+        }).catch((err) => {
+            showFailToast(err)
+        })
+    })
 }
 </script>