fix(支付): 提示弹窗问题修复,页面权限修改
This commit is contained in:
parent
8a5fec01bf
commit
50c3564633
@ -41,6 +41,7 @@ export const ROLE_PERMISSIONS = {
|
||||
PAGES.COIN_SELLER, // 主页面
|
||||
"/seller-records",
|
||||
"/coin-seller-search",
|
||||
"/recharge",
|
||||
"/recharge-freight-agent",
|
||||
],
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user