mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2026-01-15 02:57:09 +08:00
refactor: 调整 eslint.config.js,优化代码格式
This commit is contained in:
@@ -39,7 +39,7 @@ const formRef = ref<InstanceType<typeof GiForm>>()
|
||||
|
||||
const options: Options = {
|
||||
form: { size: 'large' },
|
||||
btns: { hide: true }
|
||||
btns: { hide: true },
|
||||
}
|
||||
|
||||
const columns: Columns = reactive([
|
||||
@@ -52,8 +52,8 @@ const columns: Columns = reactive([
|
||||
type: 'input-number',
|
||||
props: {
|
||||
min: 1,
|
||||
mode: 'button'
|
||||
}
|
||||
mode: 'button',
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '描述',
|
||||
@@ -61,8 +61,8 @@ const columns: Columns = reactive([
|
||||
type: 'textarea',
|
||||
props: {
|
||||
maxLength: 200,
|
||||
autoSize: { minRows: 3, maxRows: 5 }
|
||||
}
|
||||
autoSize: { minRows: 3, maxRows: 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '状态',
|
||||
@@ -73,15 +73,15 @@ const columns: Columns = reactive([
|
||||
checkedValue: 1,
|
||||
uncheckedValue: 2,
|
||||
checkedText: '启用',
|
||||
uncheckedText: '禁用'
|
||||
}
|
||||
}
|
||||
uncheckedText: '禁用',
|
||||
},
|
||||
},
|
||||
])
|
||||
|
||||
const { form, resetForm } = useForm({
|
||||
color: 'blue',
|
||||
sort: 999,
|
||||
status: 1
|
||||
status: 1,
|
||||
})
|
||||
|
||||
// 重置
|
||||
|
||||
Reference in New Issue
Block a user