fix(支付): 提示弹窗问题修复,页面权限修改

This commit is contained in:
hzj 2025-09-08 14:26:07 +08:00
parent 8a5fec01bf
commit 50c3564633
2 changed files with 5 additions and 3 deletions

View File

@ -41,6 +41,7 @@ export const ROLE_PERMISSIONS = {
PAGES.COIN_SELLER, // 主页面
"/seller-records",
"/coin-seller-search",
"/recharge",
"/recharge-freight-agent",
],

View File

@ -167,11 +167,12 @@ const checkUserId = async () => {
console.log("targetUserInfo:", targetUserInfo);
if (targetUserInfo.status && targetUserInfo.body.id) {
router.push({ path: "/recharge-freight-agent", query: { targetUserId: targetUserId.value } });
} else {
// id
showWarning("User info not found");
}
} catch (error) {
console.log("error:", error);
// id
showWarning("User info not found");
console.log("error:", error.response.errorMsg);
throw error;
}
};