From 0bd38e29c5745168d74aed49b61487b5841b9f71 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Fri, 7 Mar 2025 18:30:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=A3=E5=86=B3=E4=B8=8A=E6=9E=B6?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CURD/PageContent.vue | 1 + src/views/product/categoryconfig/content.ts | 1 + src/views/product/index.vue | 25 ++++++++++++--------- src/views/product/indexconfig/addgoods.vue | 4 +--- src/views/product/indexconfig/content.ts | 24 ++++++++++---------- 5 files changed, 30 insertions(+), 25 deletions(-) diff --git a/src/components/CURD/PageContent.vue b/src/components/CURD/PageContent.vue index 13356f9..59a4f6a 100644 --- a/src/components/CURD/PageContent.vue +++ b/src/components/CURD/PageContent.vue @@ -743,6 +743,7 @@ function handleOperat(data: IOperatData) { // 属性修改 function handleModify(field: string, value: boolean | string | number, row: Record) { + console.log(1111111111111111111111111) if (props.contentConfig.modifyAction) { props.contentConfig.modifyAction({ [pk]: row[pk], diff --git a/src/views/product/categoryconfig/content.ts b/src/views/product/categoryconfig/content.ts index 7cc602f..fd324ce 100644 --- a/src/views/product/categoryconfig/content.ts +++ b/src/views/product/categoryconfig/content.ts @@ -26,6 +26,7 @@ const contentConfig: IContentConfig = { // }, // exportAction: UserAPI.export, modifyAction: function (params) { + console.log(1111112222222222222) let obj = { sort: "1", ...params } return UserAPI.update(obj); }, diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 2de6884..083a7b0 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -11,20 +11,20 @@ -