跟换取值

This commit is contained in:
bb_pan 2025-07-09 17:07:24 +08:00
parent 7469c78868
commit 02cccce830
1 changed files with 1 additions and 1 deletions

View File

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