fix
This commit is contained in:
parent
1ed9d3148c
commit
61392ac245
|
|
@ -151,6 +151,14 @@ ${
|
|||
md.selected = form;
|
||||
md.render();
|
||||
fm.render();
|
||||
|
||||
if (fm.props.back_on_save === "y") {
|
||||
md.selected = null;
|
||||
md.tab.active = "master";
|
||||
md.internal.action_should_refresh = true;
|
||||
md.params.apply();
|
||||
md.render();
|
||||
}
|
||||
}`
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export type FMProps = {
|
|||
layout: "auto" | "1-col" | "2-col";
|
||||
meta: any;
|
||||
item: any;
|
||||
back_on_save: "y" | "n";
|
||||
label_width: number;
|
||||
gen_fields: any;
|
||||
gen_table: string;
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ export const generateMDForm = async (
|
|||
md.internal.action_should_refresh = true;
|
||||
md.params.apply();
|
||||
md.render();
|
||||
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue