Handy_Cao 2 年 前
コミット
a508ab56d3

+ 5 - 1
src/packages/pc/views/account/sign/components/certification/index.vue

@@ -83,7 +83,11 @@ const onCancel = (isRefresh = false) => {
 const onSubmit = () => {
     formRef.value?.validate((valid) => {
         if (valid) {
-            formSubmit().then(() => {
+            formSubmit().then((res) => {
+                if (res.code != '0') {
+                    ElMessage.error('实名认证提交请求失败:' + res.message)
+                    return
+                }
                 ElMessage.success('实名认证提交请求成功')
                 onCancel(true)
             }).catch((err) => {