From da0888d87dcf6629d36b6abb29b0eeccbfb56211 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 17 Feb 2025 09:47:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=95=86=E5=93=81=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product/productclassification.ts | 2 +- src/components/CURD/PageContent.vue | 259 +++++--------------- src/views/product/categoryconfig/add.ts | 4 +- src/views/product/categoryconfig/content.ts | 22 +- src/views/product/categoryconfig/edit.ts | 2 +- 5 files changed, 77 insertions(+), 212 deletions(-) diff --git a/src/api/product/productclassification.ts b/src/api/product/productclassification.ts index 6ce2819..bf1673e 100644 --- a/src/api/product/productclassification.ts +++ b/src/api/product/productclassification.ts @@ -16,7 +16,7 @@ const AuthAPI = { return request({ url: `${baseURL}`, method: "post", - data, + data: { ...data, sort: '1' }, }); }, // 获取详情 diff --git a/src/components/CURD/PageContent.vue b/src/components/CURD/PageContent.vue index 1ef7762..12193bd 100644 --- a/src/components/CURD/PageContent.vue +++ b/src/components/CURD/PageContent.vue @@ -8,58 +8,37 @@ @@ -88,68 +67,36 @@ - + @@ -263,45 +191,30 @@ @@ -319,33 +232,18 @@ - + - + @@ -355,16 +253,10 @@ - - + + @@ -385,35 +277,17 @@ - + - + - + :drag="true" :limit="1" :auto-upload="false" :on-exceed="handleFileExceed">
将文件拖到此处,或 @@ -422,13 +296,8 @@