refactor: 调整 eslint.config.js

This commit is contained in:
2024-11-23 22:58:07 +08:00
parent 7fe3ffe9da
commit 99f8edb729
5 changed files with 11 additions and 8 deletions

View File

@@ -55,8 +55,6 @@ const attrs = useAttrs()
const form = computed(() => ({ tableData: props.data }))
const formRef = useTemplateRef('formRef')
defineExpose({ formRef })
const headerCellClass = (col: ColumnItem) => {
return col.required ? 'gi_column_require' : ''
}
@@ -122,6 +120,7 @@ const isDisabled: Props['cellDisabled'] = (p) => {
if (typeof props?.cellDisabled === 'function') return props.cellDisabled(p)
return false
}
defineExpose({ formRef })
</script>
<style lang='scss' scoped></style>