mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-23 09:40:25 +08:00
chore(component): 优化EditableCell组件handleSubmit方法报错时增加warn日志显示 (#3981)
closed #3869
This commit is contained in:
parent
57ff038d82
commit
5b7b6b1780
@ -17,6 +17,7 @@
|
|||||||
import { treeToList } from '@/utils/helper/treeHelper';
|
import { treeToList } from '@/utils/helper/treeHelper';
|
||||||
import { Spin } from 'ant-design-vue';
|
import { Spin } from 'ant-design-vue';
|
||||||
import { parseRowKey } from '../../helper';
|
import { parseRowKey } from '../../helper';
|
||||||
|
import { warn } from '@/utils/log';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'EditableCell',
|
name: 'EditableCell',
|
||||||
@ -282,6 +283,7 @@
|
|||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
result = false;
|
result = false;
|
||||||
|
warn(e);
|
||||||
} finally {
|
} finally {
|
||||||
spinning.value = false;
|
spinning.value = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user