|
@@ -11,9 +11,9 @@ import { ComponentExposed } from 'vue-component-type-helpers'
|
|
|
|
|
|
const PageHelperEvoRef = ref<ComponentExposed<typeof PageHelperEvo>>()
|
|
|
const referrerId = ref<number | string>('')
|
|
|
-const { data: count, run: setCount } = useRequest(() => referrerCount({ userId:id.value }))
|
|
|
-const queryReward = computed(() => ({ status: tabsReward.value[tab.value]?.value,userId:id.value }))
|
|
|
-const queryRecommend = computed(() => (referrerId.value?{ auditStatus: tabsRecommend.value[tab.value]?.value, referrerId:referrerId.value,userId:id.value }:{auditStatus: tabsRecommend.value[tab.value]?.value,userId:id.value}))
|
|
|
+const { data: count, run: setCount } = useRequest(() => referrerCount({ referrerId:id.value }))
|
|
|
+const queryReward = computed(() => ({ status: tabsReward.value[tab.value]?.value,referrerId:id.value }))
|
|
|
+const queryRecommend = computed(() => (referrerId.value?{ auditStatus: tabsRecommend.value[tab.value]?.value, referrerId:referrerId.value,userId:id.value }:{auditStatus: tabsRecommend.value[tab.value]?.value,referrerId:id.value}))
|
|
|
|
|
|
const id = ref()
|
|
|
const type = ref("recommend")
|
|
@@ -73,7 +73,7 @@ onLoad(async(options)=>{
|
|
|
if(options?.type === "recommend"){
|
|
|
uni.setNavigationBarTitle({
|
|
|
title:"我的推荐"
|
|
|
- })
|
|
|
+ })
|
|
|
}else{
|
|
|
uni.setNavigationBarTitle({
|
|
|
title:"奖励明细"
|