Explorar el Código

Merge branch 'v5.1.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v5.1.0dev

liaofei hace 2 años
padre
commit
b7b743b57d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      template/admin/src/components/uploadImg/index.vue

+ 4 - 0
template/admin/src/components/uploadImg/index.vue

@@ -190,6 +190,10 @@ export default {
     },
 
     getImg() {
+      if (!this.webImgUrl) {
+        this.$message.error('请先输入图片地址');
+        return;
+      }
       this.ruleForm.imgList.push({
         url: this.webImgUrl,
       });