mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:38:53 +08:00
增加兼容逻辑
This commit is contained in:
parent
bec2d729d2
commit
7034bb6de2
@ -486,7 +486,7 @@ export const FormStore = ServiceStore.named('FormStore')
|
||||
if (dispatcher?.then) {
|
||||
dispatcher = yield dispatcher;
|
||||
}
|
||||
if (dispatcher && dispatcher?.prevented){
|
||||
if (!dispatcher?.prevented){
|
||||
msg && env.notify('error', msg);
|
||||
}
|
||||
throw new Error(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user