优化字典模块

This commit is contained in:
icssoa 2022-07-06 14:02:29 +08:00
parent ce3d0a7e06
commit 66580ada12
3 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "front-next",
"version": "5.6.0",
"version": "5.6.1",
"scripts": {
"dev": "vite --host",
"build": "vite build",

View File

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

View File

@ -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" } },
{