refactor(baTable):去除多余的表单数据重置操作

This commit is contained in:
妙码生花 2024-06-10 22:12:29 +08:00
parent e4e9050df2
commit 65ed70b2b8

View File

@ -168,9 +168,6 @@ export default class baTable {
*/
toggleForm = (operate = '', operateIds: string[] = []) => {
if (this.runBefore('toggleForm', { operate, operateIds }) === false) return
if (this.form.ref) {
this.form.ref.resetFields()
}
if (operate == 'Edit') {
if (!operateIds.length) {
return false