From 77199de43ed6d9f44f35ffa582ec8b5d6b5041df Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 26 Jun 2023 15:15:44 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E7=BD=91=E7=BB=9C=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/components/uploadImg/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template/admin/src/components/uploadImg/index.vue b/template/admin/src/components/uploadImg/index.vue index d8838fcff..cbbc3008f 100644 --- a/template/admin/src/components/uploadImg/index.vue +++ b/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, });