From a7e775f5e75d2528b44dc89b5fea53f081403697 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 10 Mar 2025 16:36:11 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=95=86?= =?UTF-8?q?=E5=93=81=E4=B8=8A=E6=9E=B6=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/index.vue | 2 +- src/views/product/indexconfig/content.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 083a7b0..464bc59 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -113,7 +113,7 @@ function handleSwitchChange(data: any) { let obj = { type: data.isGrounding ? 'sku' : 'product', id: data.id, - isSale: data.status + isSale: data.isSale } UserAPI.onOff(obj); } diff --git a/src/views/product/indexconfig/content.ts b/src/views/product/indexconfig/content.ts index 2131e43..508aacd 100644 --- a/src/views/product/indexconfig/content.ts +++ b/src/views/product/indexconfig/content.ts @@ -82,7 +82,7 @@ const contentConfig: IContentConfig = { { label: "上架", align: "center", - prop: "status", + prop: "isSale", templet: "custom", slotName: "shangjia", }, From deec807c9831b1370964b9b4d259085914c2e81f Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Tue, 11 Mar 2025 10:42:37 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=86=E7=B1=BB=E6=8E=92=E5=BA=8F=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/mycomponents/shopList.vue | 6 +++++- src/views/product/categoryconfig/add.ts | 9 +++++++++ src/views/product/categoryconfig/edit.ts | 11 ++++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/components/mycomponents/shopList.vue b/src/components/mycomponents/shopList.vue index 1de4d7a..dbbab7a 100644 --- a/src/components/mycomponents/shopList.vue +++ b/src/components/mycomponents/shopList.vue @@ -3,7 +3,8 @@ - +