diff --git a/packages/amis-core/src/store/form.ts b/packages/amis-core/src/store/form.ts index c5acca016..13903fad1 100644 --- a/packages/amis-core/src/store/form.ts +++ b/packages/amis-core/src/store/form.ts @@ -365,9 +365,11 @@ export const FormStore = ServiceStore.named('FormStore') } self.markSaving(false); self.updateMessage( - json.msg ?? options.successMessage === 'saveSuccess' - ? json.defaultMsg - : self.__(options && options.successMessage) ?? json.defaultMsg + json.msg ?? + (options.successMessage === 'saveSuccess' + ? json.defaultMsg + : self.__(options && options.successMessage)) ?? + json.defaultMsg ); if (!ret?.dispatcher?.prevented) { self.msg &&