feat: 优化登录流程

This commit is contained in:
2025-12-15 22:33:22 +08:00
parent 9eb1dc6747
commit 296781c506
4 changed files with 7 additions and 11 deletions

View File

@@ -3,8 +3,8 @@ import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import { getEvnUrl } from "@/request/api/config";
import { refreshToken } from "@/hooks/useGoLogin";
onLaunch(() => {
getEvnUrl({ versionValue: "1.0.2" });
onLaunch(async () => {
await getEvnUrl({ versionValue: "1.0.3" });
refreshToken();
});