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) {