purui 3 ماه پیش
والد
کامیت
036d009e31
1فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 6 2
      packages/app/src/pages-sub/mine/homepage/index.vue

+ 6 - 2
packages/app/src/pages-sub/mine/homepage/index.vue

@@ -195,12 +195,16 @@ const handleUnbundle = async () => {
     },
   })
 }
-onLoad(async (query: { id: string; isShared?: string }) => {
+onLoad(async (query: { id: string; isShared?: string, scene?:string }) => {
   if (query.id) {
     id.value = query.id
   } else {
     id.value = userInfo.value.userId
-    // memberInfo.value =
+  }
+  if(query.scene){
+	  console.log(decodeURIComponent(query.scene))
+	 id.value = decodeURIComponent(query.scene).split("=")[1]
+	 isShared.value = true
   }
   if (query.isShared) {
     isShared.value = true