Skip to content

Commit

Permalink
chore(component): 优化EditableCell组件handleSubmit方法报错时增加warn日志显示 (#3981)
Browse files Browse the repository at this point in the history
closed #3869
  • Loading branch information
xuxing409 authored Jul 26, 2024
1 parent 57ff038 commit 5b7b6b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Table/src/components/editable/EditableCell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import { treeToList } from '@/utils/helper/treeHelper';
import { Spin } from 'ant-design-vue';
import { parseRowKey } from '../../helper';
import { warn } from '@/utils/log';
export default defineComponent({
name: 'EditableCell',
Expand Down Expand Up @@ -282,6 +283,7 @@
});
} catch (e) {
result = false;
warn(e);
} finally {
spinning.value = false;
}
Expand Down

0 comments on commit 5b7b6b1

Please sign in to comment.