From cf81e2fd72a5c0c4d3ad2a1077a15ad6667be842 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Sat, 15 Mar 2025 11:49:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=80=97=E6=9D=90?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=B1=E8=B4=A5=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventory/consumables/components/add-haocai.vue | 9 ++++----- src/views/user/list/config/content.ts | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/inventory/consumables/components/add-haocai.vue b/src/views/inventory/consumables/components/add-haocai.vue index f3b3dbc..b36cc62 100644 --- a/src/views/inventory/consumables/components/add-haocai.vue +++ b/src/views/inventory/consumables/components/add-haocai.vue @@ -16,10 +16,10 @@ - + - + @@ -29,7 +29,7 @@ - + @@ -137,8 +137,7 @@ const emits = defineEmits(["refresh"]); async function submitForm() { refform.value.validate(async (valid) => { if (valid) { - const res = - dialogtitle.value == "新增" ? await consApi.add(this.form) : await consApi.edit(this.form); + const res = dialogtitle.value == "新增" ? await consApi.add(form) : await consApi.edit(form); ElMessage({ type: "success", message: dialogtitle.value + "成功" }); emits("refresh"); close(); diff --git a/src/views/user/list/config/content.ts b/src/views/user/list/config/content.ts index 911fc12..646d3b6 100644 --- a/src/views/user/list/config/content.ts +++ b/src/views/user/list/config/content.ts @@ -32,7 +32,7 @@ const contentConfig: IContentConfig = { prop: "user", templet: "custom", slotName: "user", - width: 140, + width: 160, }, { label: "性别",