From c850a27cca8a56455cfdcb6b7708285abc38ca3b Mon Sep 17 00:00:00 2001 From: misworga831 Date: Wed, 1 Feb 2023 10:18:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E5=80=BC=E4=B8=BA=E7=A9=BA=E5=90=8E=EF=BC=8C=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E9=94=99=E4=B9=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/views/goods/goods-seller/goodsOperationSec.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue index f494b380..3c2a9767 100644 --- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue +++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue @@ -1383,6 +1383,10 @@ export default { this.$Message.error("已存在相同规格值!"); return; } + if (val.value === '') { + this.$Message.error("规格值不能为空!"); + return; + } let curVal = this.currentSkuVal; this.skuTableData = this.skuTableData.map((e) => { if (e[val.name] === curVal) {