fix: greeting page
This commit is contained in:
@@ -160,6 +160,12 @@ const handleLogind = async () => {
|
||||
};
|
||||
|
||||
const navTo = (page) => {
|
||||
if (!isLoggedIn.value) {
|
||||
loginPopupRef.value.open();
|
||||
uni.showToast({ title: "请先登录", icon: "none" });
|
||||
return;
|
||||
}
|
||||
|
||||
if (page === "greetings") {
|
||||
uni.navigateTo({
|
||||
url: "/pages/mine/greeting",
|
||||
|
||||
Reference in New Issue
Block a user