张延森 3 years ago
parent
commit
d891241400
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/hotel/components/HouseManage/houseManage.jsx

+ 3
- 3
src/hotel/components/HouseManage/houseManage.jsx View File

@@ -118,10 +118,10 @@ export default React.forwardRef((props, ref) => {
118 118
         <SearchBar placeholder='请输入房源名搜索' onBlur={onSearch} />
119 119
         <ShareRoom showCutover={showCutover} onClose={onClose} room={room} onFinish={handleFinish} />
120 120
         <ShareCard showCutover={showCard} onClose={onClose2} />
121
-        <scroll-view scroll-y="true" scroll-view='true' bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" style={{ height: 'calc(100vh - 244px)' }}>
121
+        <scroll-view scrollY style={{ height: 'calc(100vh - 244px)' }}>
122 122
           {
123
-            (detail || []).map((item) =>
124
-              <view className='houseCard'>
123
+            (detail || []).map((item, inx) =>
124
+              <view className='houseCard' key={inx}>
125 125
                 <view className='houseName' onClick={() => { handelDetail(item) }} >{item.roomName || ''}</view>
126 126
                 <view className='operation'>
127 127
                   <view onClick={() => handelOrder(item)}><image src={see} />查看入住人</view>