This commit is contained in:
XaoLi717 2024-08-05 11:19:22 +08:00
parent 941f345399
commit 7910a23be1
2 changed files with 6 additions and 6 deletions

View File

@ -108,7 +108,7 @@
import { dateFormatter } from '@/utils/formatTime'
import download from '@/utils/download'
import { Star2Api, Star2VO } from '@/api/bpm/star2'
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'//
/** 收藏管理 列表 */
defineOptions({ name: 'MyStar2' })
@ -136,8 +136,8 @@ const exportLoading = ref(false) // 导出的加载中
const getList = async () => {
loading.value = true
try {
userInfo.value = await getUserProfile()
queryParams.userId = userInfo.value.id
userInfo.value = await getUserProfile()//
queryParams.userId = userInfo.value.id//idid
const data = await Star2Api.getStar2Page(queryParams)
list.value = data.list
total.value = data.total

View File

@ -124,7 +124,7 @@
import { dateFormatter } from '@/utils/formatTime'
import download from '@/utils/download'
import { TbupApi, TbupVO } from '@/api/bpm/tbup'
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'//
/** 点赞管理 列表 */
defineOptions({ name: 'MyTbup' })
@ -151,8 +151,8 @@ const exportLoading = ref(false) // 导出的加载中
const getList = async () => {
loading.value = true
try {
userInfo.value = await getUserProfile()
queryParams.userId = userInfo.value.id
userInfo.value = await getUserProfile()//
queryParams.userId = userInfo.value.id//idid
const data = await TbupApi.getTbupPage(queryParams)
list.value = data.list
total.value = data.total