This commit is contained in:
X1627315083
2025-09-02 12:59:30 +08:00
parent 33a4a50d5e
commit 4b9a606b68
34 changed files with 132 additions and 130 deletions

View File

@@ -43,7 +43,7 @@
<div class="otherUser_works_title modal_title_text">
<div>{{$t('account.hisWorks')}}</div>
</div>
<Works :isScroll="false" :otherUsers="true" :userId=userId></Works>
<Works :isScroll="false" :otherUsers="true"></Works>
</div>
</div>
</template>
@@ -63,7 +63,9 @@ export default defineComponent({
const router:any = useRouter()
const store = useStore();
let otherUsers = reactive({
userId:'0',
userId:computed(()=>{
return store.state.UserHabit.userDetail.userId
}),
userContent:{}
})
let getUserDetail = (id:any)=>{
@@ -90,7 +92,6 @@ export default defineComponent({
})
}
onMounted (()=>{
otherUsers.userId = router.currentRoute.value.query?.userId
// alert()
setTimeout(() => {
getUserDetail(otherUsers.userId)