From 5a5202d483da115b4c9c01a6f6e3b7a5c07e35c8 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 2 Apr 2023 01:25:31 +0800 Subject: [PATCH] =?UTF-8?q?REVIEW=20=E5=95=86=E5=93=81=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mall/product/property.ts | 2 +- src/views/mall/product/category/index.vue | 1 + .../property/{form.vue => PropertyForm.vue} | 15 ++--- src/views/mall/product/property/index.vue | 57 +++++++++++-------- 4 files changed, 44 insertions(+), 31 deletions(-) rename src/views/mall/product/property/{form.vue => PropertyForm.vue} (90%) diff --git a/src/api/mall/product/property.ts b/src/api/mall/product/property.ts index dd693c5c..01c79f9f 100644 --- a/src/api/mall/product/property.ts +++ b/src/api/mall/product/property.ts @@ -61,7 +61,7 @@ export const getProperty = (id: number): Promise => { } // 获得属性项分页 -export const getPropertyPage = (params: PageParam & any) => { +export const getPropertyPage = (params: PageParam) => { return request.get({ url: '/product/property/page', params }) } diff --git a/src/views/mall/product/category/index.vue b/src/views/mall/product/category/index.vue index f91e1450..f57e35f8 100644 --- a/src/views/mall/product/category/index.vue +++ b/src/views/mall/product/category/index.vue @@ -14,6 +14,7 @@ placeholder="请输入分类名称" clearable @keyup.enter="handleQuery" + class="!w-240px" /> diff --git a/src/views/mall/product/property/form.vue b/src/views/mall/product/property/PropertyForm.vue similarity index 90% rename from src/views/mall/product/property/form.vue rename to src/views/mall/product/property/PropertyForm.vue index 360af99b..393d00ef 100644 --- a/src/views/mall/product/property/form.vue +++ b/src/views/mall/product/property/PropertyForm.vue @@ -24,7 +24,6 @@ diff --git a/src/views/mall/product/property/index.vue b/src/views/mall/product/property/index.vue index 36cb5a11..ea992923 100644 --- a/src/views/mall/product/property/index.vue +++ b/src/views/mall/product/property/index.vue @@ -1,13 +1,20 @@