This commit is contained in:
bb_pan 2025-07-05 19:08:00 +08:00
parent cac2be25b5
commit 9e61a4ca79
1 changed files with 2 additions and 1 deletions

View File

@ -133,8 +133,9 @@ const getUserInfoByUserName = async () => {
const projectInfoList = async () => {
try {
const res = await getProjectInfoApi({ unitId: null, isApp: true })
console.log('🚀 ~ projectInfoList ~ res:', res)
if (res.data && res.data.length > 0) {
projectIds.value = res.data.map((item) => item.projectId)
projectIds.value = res.data.map((item) => item.proId)
}
} catch (error) {
console.log('🚀 ~ projectInfoList ~ error:', error)