/recharge 新增为公共页面
This commit is contained in:
parent
de3a47b4c9
commit
f34149ff83
@ -2,7 +2,7 @@ import { get, post } from "../utils/http.js";
|
||||
|
||||
export const searchUser = async (userId) => {
|
||||
try {
|
||||
const response = await get(`/user/user-profile/search?account=${userId}`);
|
||||
const response = await get(`/user/user-profile/open-search?account=${userId}`);
|
||||
return response;
|
||||
} catch (error) {
|
||||
console.error("Failed to fetch search user:", error);
|
||||
|
||||
@ -399,7 +399,9 @@ class RouteGuard {
|
||||
PAGES.APPLY, // 申请页面 - 重要:申请页面不需要权限检查
|
||||
PAGES.NOT_APP, // 错误页面 - APP连接失败时的页面
|
||||
'/404', // 404页面
|
||||
'/error' // 通用错误页面
|
||||
'/error', // 通用错误页面
|
||||
'/recharge',
|
||||
'/recharge-freight-agent'
|
||||
]
|
||||
return publicPages.includes(path);
|
||||
}
|
||||
|
||||
@ -157,15 +157,6 @@ const closedPopup = () => {
|
||||
dialogshow.value = false;
|
||||
};
|
||||
|
||||
// 页面加载时获取申请记录
|
||||
usePageInitializationWithConfig('RECHARGE', {
|
||||
needsBankBalance: false,
|
||||
needsWorkStatistics: false,
|
||||
needsTeamInfo: false,
|
||||
needsRouteGuard: true,
|
||||
|
||||
})
|
||||
|
||||
const targetUserId = ref("");
|
||||
|
||||
const checkUserId = async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user