修复已知问题
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
const contentData = ref('')
|
||||
const inputId = ref('')
|
||||
const isType = ref('')
|
||||
const targetUserId = ref('')
|
||||
|
||||
const onScroll = e => {
|
||||
cbNavBar.value?.updateScroll(e.detail.scrollTop)
|
||||
@@ -57,7 +58,7 @@
|
||||
const res = await getUserMomentsList({
|
||||
pageNum,
|
||||
pageSize,
|
||||
targetUserId: isType.value == 1 ? userInfo.value.userId : ''
|
||||
targetUserId: isType.value == 1 ? userInfo.value.userId : targetUserId.value
|
||||
})
|
||||
const list = res.rows.map(item => {
|
||||
return {
|
||||
@@ -123,6 +124,7 @@
|
||||
})
|
||||
|
||||
onLoad(async e => {
|
||||
targetUserId.value = e?.id || ''
|
||||
isType.value = e?.type || ''
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user