Initial project commit

This commit is contained in:
2026-05-09 16:40:29 +08:00
commit 02b0259a9e
267 changed files with 54891 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
export const checkLogin = () => {
const token = uni.getStorageSync("access_token");
if (!token) {
uni.showToast({ title: "请先登录", icon: "none" });
setTimeout(() => {
uni.navigateTo({ url: "/pages/login/index" });
}, 300);
return false;
}
return true;
};