zzd
This commit is contained in:
1 parent
22e0aaf610
commit
4df8ee27da
2 files changed
+18
-3
No files matched your search
+5
-1
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { getLaunchParam } from "@/sheep/utils/app"
|
||||
import { getLaunchParam, getUrlQueryParam } from "@/sheep/utils/app"
|
||||
import { getAppInfo } from "@@/utils/app"
|
||||
import { APPENV } from "./sheep/constant"
|
||||
|
||||
@@ -166,6 +166,10 @@ const setTabbar = (launchParam?: string, auth?: string) => {
|
||||
export default {
|
||||
async onLaunch() {
|
||||
try {
|
||||
const lp = getUrlQueryParam("launchParam")
|
||||
if (lp) {
|
||||
uni.setStorageSync("launchParam", lp)
|
||||
}
|
||||
const { tryZzdEntryLogin } = await import("@/sheep/utils/request")
|
||||
await tryZzdEntryLogin()
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user