mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix: 修复弹窗 toast 不提示问题 (#5182)
This commit is contained in:
parent
fbae7292ed
commit
8db4dc703a
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user