refactor: 调整 eslint.config.js,优化代码格式

This commit is contained in:
2024-10-28 21:20:08 +08:00
parent 0e8fe5ff1f
commit 9e5dff144b
176 changed files with 5956 additions and 5624 deletions

View File

@@ -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,
})
// 重置