Procházet zdrojové kódy

认证判断bug;

huan-jie před 4 roky
rodič
revize
3e5cde66d7
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      pages/cert/type/_id.vue

+ 2 - 2
pages/cert/type/_id.vue

@@ -324,8 +324,8 @@ export default {
         let next = '/cert'
         // F2、F3 认证,判断是否已上传图片
         if (this.id === '20' || this.id === '21') {
-          // 由于不知道后端的状态值,前端均以 btn_name 判断状态
-          if (!this.certVerifyUrl && this.detail.btn_name === '未达标') {
+          // !can_click:未达标,!certVerifyUrl:没有上传图片
+          if (!this.certVerifyUrl && !this.detail.can_click) {
             this.$message.error('请先上传职级证明图片')
             return
           } else {