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 @@ -