fix(支付): 提示弹窗问题修复,页面权限修改
This commit is contained in:
parent
8a5fec01bf
commit
50c3564633
@ -41,6 +41,7 @@ export const ROLE_PERMISSIONS = {
|
|||||||
PAGES.COIN_SELLER, // 主页面
|
PAGES.COIN_SELLER, // 主页面
|
||||||
"/seller-records",
|
"/seller-records",
|
||||||
"/coin-seller-search",
|
"/coin-seller-search",
|
||||||
|
"/recharge",
|
||||||
"/recharge-freight-agent",
|
"/recharge-freight-agent",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
@ -167,11 +167,12 @@ const checkUserId = async () => {
|
|||||||
console.log("targetUserInfo:", targetUserInfo);
|
console.log("targetUserInfo:", targetUserInfo);
|
||||||
if (targetUserInfo.status && targetUserInfo.body.id) {
|
if (targetUserInfo.status && targetUserInfo.body.id) {
|
||||||
router.push({ path: "/recharge-freight-agent", query: { targetUserId: targetUserId.value } });
|
router.push({ path: "/recharge-freight-agent", query: { targetUserId: targetUserId.value } });
|
||||||
|
} else {
|
||||||
|
// 信息提示id有误
|
||||||
|
showWarning("User info not found");
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("error:", error);
|
console.log("error:", error.response.errorMsg);
|
||||||
// 信息提示id有误
|
|
||||||
showWarning("User info not found");
|
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user