|
@@ -458,7 +458,15 @@ const handleOpenPrivacyContract = () => { |
|
|
//#region 初始化 |
|
|
//#region 初始化 |
|
|
const urlUid = ref(""); //通过邀请来的会携带邀请人ID参数 |
|
|
const urlUid = ref(""); //通过邀请来的会携带邀请人ID参数 |
|
|
onLoad((options) => { |
|
|
onLoad((options) => { |
|
|
urlUid.value = options.userId ? options.userId : null; |
|
|
|
|
|
|
|
|
if (options.userId) { |
|
|
|
|
|
urlUid.value = options.userId; |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: `Uid获取成功!(${options.userId})`, |
|
|
|
|
|
icon: "none", |
|
|
|
|
|
}); |
|
|
|
|
|
} else { |
|
|
|
|
|
urlUid.value = null; |
|
|
|
|
|
} |
|
|
uni.hideHomeButton(); |
|
|
uni.hideHomeButton(); |
|
|
// workId.value = options.id; |
|
|
// workId.value = options.id; |
|
|
|
|
|
|
|
|