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

@@ -167,8 +167,6 @@ const isDisabled = (disabled?: ColumnsItemDisabled<boolean | object>) => {
}
}
defineExpose({ formRef })
props.columns.forEach((item) => {
if (item.request && typeof item.request === 'function' && item?.init) {
item.request(props.modelValue).then((res) => {
@@ -213,6 +211,8 @@ watch(cloneForm as any, (newVal, oldVal) => {
}
})
})
defineExpose({ formRef })
</script>
<style scoped lang="scss">