Skip to content

Commit

Permalink
refactor(baTable):去除多余的表单数据重置操作
Browse files Browse the repository at this point in the history
  • Loading branch information
build-admin committed Jun 10, 2024
1 parent e4e9050 commit 65ed70b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions web/src/utils/baTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65ed70b

Please sign in to comment.