mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-25 16:16:20 +08:00
chore(component): 优化EditableCell组件handleSubmit方法报错时增加warn日志显示 (#3981)
closed #3869
This commit is contained in:
@@ -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',
|
||||
@@ -282,6 +283,7 @@
|
||||
});
|
||||
} catch (e) {
|
||||
result = false;
|
||||
warn(e);
|
||||
} finally {
|
||||
spinning.value = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user