瀏覽代碼

raiserecord

xujing 5 年之前
父節點
當前提交
be2a077e03
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      src/onlineSelling/components/RaiseCard/index.js

+ 2
- 1
src/onlineSelling/components/RaiseCard/index.js 查看文件

@@ -22,10 +22,11 @@ export default function RaiseCard(props) {
22 22
     insideArea,
23 23
     payStatus,
24 24
     houseId,
25
+    taHousingResourcesList = [],
25 26
     buildingImgList = [],
26 27
   } = props.summary || {}
27 28
 
28
-  const title = `${buildingName || ''} ${termName || ''} ${blockName || ''} ${unitName || ''} ${roomName || ' '}`
29
+  const title = `${buildingName || taHousingResourcesList[0].buildingName || ''} ${termName || taHousingResourcesList[0].termName || ''} ${blockName || taHousingResourcesList[0].blockName || ''} ${unitName || taHousingResourcesList[0].unitName || ''} ${roomName || taHousingResourcesList[0].roomName || ' '}`
29 30
   const thumb = (buildingImgList || []).length
30 31
   const showDT = dayjs(createDate).format('YYYY/MM/DD')
31 32
   const wanY = Number(price)