浏览代码

tofixed del

1007395918@qq.com 5 年前
父节点
当前提交
99d20ca7b1
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      src/onlineSelling/components/HouseCard/index.js
  2. 1
    1
      src/onlineSelling/components/HouseGrid/Room.js

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

22
   const thumb = (buildingImgList || []).length
22
   const thumb = (buildingImgList || []).length
23
   // const thumb = (buildingImgList || []).length ? transferImage((buildingImgList)[0].url) : emptyImg
23
   // const thumb = (buildingImgList || []).length ? transferImage((buildingImgList)[0].url) : emptyImg
24
   const showDT = dayjs(createDate).format('YYYY/MM/DD')
24
   const showDT = dayjs(createDate).format('YYYY/MM/DD')
25
-  const wanY = Number(price).toFixed(2)
25
+  const wanY = Number(price)
26
 
26
 
27
   return (
27
   return (
28
     <View className="housecard">
28
     <View className="housecard">

+ 1
- 1
src/onlineSelling/components/HouseGrid/Room.js 查看文件

12
     }
12
     }
13
   }
13
   }
14
 
14
 
15
-  const wanY = Number(price).toFixed(2)
15
+  const wanY = Number(price)
16
 
16
 
17
   return (
17
   return (
18
     <HotBlock number={heat + realHeat + 0}>
18
     <HotBlock number={heat + realHeat + 0}>