diff --git a/src/pages/job-detail/index.tsx b/src/pages/job-detail/index.tsx index 76ce455..72a9c36 100644 --- a/src/pages/job-detail/index.tsx +++ b/src/pages/job-detail/index.tsx @@ -200,7 +200,9 @@ const CompanyFooter = (props: { data: JobDetails }) => { const errorCode = e.errorCode; const errorMsg = e.info?.() || e.message; collectEvent(CollectEventName.PUBLISH_OPEN_JOB_FAILED, { jobId: data.id, error: e.info?.() || e.message }); - if (errorCode === RESPONSE_ERROR_CODE.INSUFFICIENT_BALANCE) { + if (errorCode === RESPONSE_ERROR_CODE.INSUFFICIENT_FREE_BALANCE) { + setShowBuy(true); + } else if (errorCode === RESPONSE_ERROR_CODE.INSUFFICIENT_BALANCE) { Toast.info('您购买的产品已耗尽使用次数'); setShowBuy(true); } else if (errorCode === RESPONSE_ERROR_CODE.BOSS_VIP_EXPIRED) {