From 66580ada12d5ed5100d2e0a5a9d35a9d8f589b13 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Wed, 6 Jul 2022 14:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AD=97=E5=85=B8=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/modules/dict/components/group.vue | 8 ++++++-- src/modules/dict/views/list.vue | 6 ++++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5a881f0..dab3d77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "front-next", - "version": "5.6.0", + "version": "5.6.1", "scripts": { "dev": "vite --host", "build": "vite build", diff --git a/src/modules/dict/components/group.vue b/src/modules/dict/components/group.vue index 0479058..6da7761 100644 --- a/src/modules/dict/components/group.vue +++ b/src/modules/dict/components/group.vue @@ -91,11 +91,14 @@ function select(item: any) { }); } -// 标记 +// 编辑 function edit(item?: any) { Form.value?.open({ title: item ? "编辑类型" : "添加类型", width: "500px", + props: { + labelWidth: "60px" + }, items: [ { label: "名称", @@ -230,11 +233,12 @@ onMounted(() => { margin-bottom: 10px; border-radius: 3px; color: #666; + position: relative; background-color: #f7f7f7; .el-icon { position: absolute; - right: 20px; + right: 10px !important; } &:last-child { diff --git a/src/modules/dict/views/list.vue b/src/modules/dict/views/list.vue index 82ddab5..1686230 100644 --- a/src/modules/dict/views/list.vue +++ b/src/modules/dict/views/list.vue @@ -62,6 +62,12 @@ const title = computed(() => { // cl-upsert 配置 const Upsert = useUpsert({ + dialog: { + width: "600px" + }, + props: { + labelWidth: "60px" + }, items: [ { label: "名称", prop: "name", required: true, component: { name: "el-input" } }, {