1
This commit is contained in:
@@ -33,7 +33,7 @@ export default function withAuth<P extends object>(
|
||||
// if (!is_login) {
|
||||
// const currentPage = getCurrentFullPath();
|
||||
// Taro.redirectTo({
|
||||
// url: `/login_pages/login/index/index${
|
||||
// url: `/login_pages/index/index${
|
||||
// currentPage ? `?redirect=${encodeURIComponent(currentPage)}` : ""
|
||||
// }`,
|
||||
// });
|
||||
|
||||
@@ -37,7 +37,7 @@ const GuideBar = (props) => {
|
||||
|
||||
let url = `/pages/${code}/index`;
|
||||
if (code === "personal") {
|
||||
url = "/mod_user/pages/myself/index";
|
||||
url = "/user_pages/myself/index";
|
||||
}
|
||||
if (code === "message") {
|
||||
url = "/other_pages/message/index";
|
||||
|
||||
@@ -41,7 +41,7 @@ interface UserInfoCardProps {
|
||||
// 处理编辑用户信息
|
||||
const on_edit = () => {
|
||||
Taro.navigateTo({
|
||||
url: '/mod_user/pages/edit/index'
|
||||
url: '/user_pages/edit/index'
|
||||
});
|
||||
};
|
||||
// 用户信息卡片组件
|
||||
|
||||
Reference in New Issue
Block a user