Handy_Cao 2 years ago
parent
commit
bedbc525f0

+ 1 - 1
src/packages/pc/components/layouts/header/components/avater/index.vue

@@ -1,6 +1,6 @@
 <!-- 系统公告 -->
 <template>
-    <app-drawer title="头像" :width="600" v-model:show="show" :loading="loading" :refresh="refresh">
+    <app-drawer title="头像" :width="600" v-model:show="show" :refresh="refresh">
         <el-form ref="formRef" class="el-form--vertical" label-width="100px" :model="formData" :rules="formRules">
             <el-form-item prop="cardbackphotourl" label="用户头像">
                 <app-upload :file-types="['image']" type-message="请选择正确的图片类型" @change="f_afterRead"

+ 1 - 1
src/packages/pc/components/layouts/header/components/cancel/index.vue

@@ -25,7 +25,7 @@ import { ElMessage } from 'element-plus'
 import { useAccountCancellation } from '@/business/user'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 
-const { formSubmit } = useAccountCancellation()
+const { formSubmit, loading } = useAccountCancellation()
 
 const show = ref(true)
 const refresh = ref(false)

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

@@ -90,6 +90,10 @@ const { loading  } = useRequest(queryUserESignRecord, {
                 openComponent('certification-next')
             } 
         }
+    }, onError: (err) => {
+        showFailToast(err)
+        /// 报错返回
+        router.back()
     }
 })