mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: remove redundant form reset calls in useCreateAction and useUpdateAction
This commit is contained in:
parent
c999ae4040
commit
d81f75acb4
@ -108,7 +108,6 @@ export const useCreateAction = () => {
|
||||
},
|
||||
});
|
||||
ctx.setVisible(false);
|
||||
await form.reset();
|
||||
field.data.loading = false;
|
||||
refresh();
|
||||
} catch (error) {
|
||||
@ -142,7 +141,6 @@ export const useUpdateAction = () => {
|
||||
},
|
||||
});
|
||||
ctx.setVisible(false);
|
||||
await form.reset();
|
||||
refresh();
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user