Explorar el Código

红德堂-fix默认值设置不对导致的logo修改失败

Long hace 1 día
padre
commit
59c3364667
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/his/coupon/index.vue

+ 1 - 1
src/views/his/coupon/index.vue

@@ -576,7 +576,7 @@ export default {
           })
         }
 
-        this.imageArr = this.form.logo?.split(",");
+        this.imageArr = this.form.logo ? this.form.logo.split(",") : [];
       });
     },
     /** 提交按钮 */