mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
refactor(baTable):去除多余的表单数据重置操作
This commit is contained in:
parent
e4e9050df2
commit
65ed70b2b8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user