增加兼容逻辑

This commit is contained in:
pianruijie 2022-05-09 19:45:08 +08:00
parent bec2d729d2
commit 7034bb6de2

View File

@ -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);