From 5f80d1611cd75474a3e352f8d77ab250a1cc55dc Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 1 Oct 2023 20:55:51 +0800 Subject: [PATCH] =?UTF-8?q?product=EF=BC=9A=E4=BC=98=E5=8C=96=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mall/product/category/index.vue | 10 +++++----- src/views/mall/product/spu/form/index.vue | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/mall/product/category/index.vue b/src/views/mall/product/category/index.vue index 27ea5368..9bfd1eff 100644 --- a/src/views/mall/product/category/index.vue +++ b/src/views/mall/product/category/index.vue @@ -35,14 +35,14 @@ - - + + - - + + diff --git a/src/views/mall/product/spu/form/index.vue b/src/views/mall/product/spu/form/index.vue index b55dd31f..cfad29d7 100644 --- a/src/views/mall/product/spu/form/index.vue +++ b/src/views/mall/product/spu/form/index.vue @@ -161,7 +161,7 @@ const submitForm = async () => { deepCopyFormData.sliderPicUrls = newSliderPicUrls // 校验都通过后提交表单 const data = deepCopyFormData as ProductSpuApi.Spu - const id = params.spuId as unknown as number + const id = params.id as unknown as number if (!id) { await ProductSpuApi.createSpu(data) message.success(t('common.createSuccess'))