From 2bcefc1306e66a689e14b02601b5c90e737a62c6 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Thu, 24 Aug 2023 16:40:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E8=A7=A3=E5=86=B3=E5=95=86?= =?UTF-8?q?=E5=93=81=E7=BC=96=E8=BE=91=E4=B8=AD=E9=87=8D=E6=96=B0=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=88=86=E7=B1=BB=E3=80=81=E5=95=86=E5=93=81=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=B8=8D=E6=9B=B4=E6=96=B0=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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue index fdb26aaf..dd1a658d 100644 --- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue +++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue @@ -953,8 +953,7 @@ export default { /** 查询品牌列表 */ this.getGoodsBrandList(); - /** 查询商品参数 */ - this.GET_GoodsParams(); + /** 查询店铺商品分类 */ this.GET_ShopGoodsLabel(); this.GET_GoodsUnit(); @@ -972,6 +971,8 @@ export default { } this.firstData.goodsType && (this.baseInfoForm.goodsType = this.firstData.goodsType); + /** 查询商品参数 */ + this.GET_GoodsParams(); }, // 渲染sku数据 renderGoodsDetailSku(skuList) { @@ -1039,6 +1040,7 @@ export default { /** 根据当前分类id查询商品应包含的参数 */ GET_GoodsParams() { + this.goodsParams = [] API_GOODS.getCategoryParamsListDataSeller(this.categoryId).then( (response) => { if (!response || response.length <= 0) {