|
@@ -29,7 +29,7 @@ const businessFlowMiddlewareLogic: Middleware =
|
|
//进入检查前判断配额
|
|
//进入检查前判断配额
|
|
try {
|
|
try {
|
|
const quotaResponse = await getQuota();
|
|
const quotaResponse = await getQuota();
|
|
- if (quotaResponse.data.available >= quotaResponse.data.total) {
|
|
|
|
|
|
+ if (quotaResponse.data.available <= 0) {
|
|
store.dispatch(showQuotaAlert());
|
|
store.dispatch(showQuotaAlert());
|
|
return;
|
|
return;
|
|
}
|
|
}
|