Browse Source

fix:
- 企业承诺搜索prop写错

梦辉 5 months ago
parent
commit
844c483de5
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/subPages/pages/commitment/home/index.vue

+ 3 - 4
src/subPages/pages/commitment/home/index.vue

@@ -54,9 +54,8 @@ export default {
           this.resultList = this.resultList.map(item => {
             return {
               ...item,
-              company_name: item.item,
-              create_time: item.time,
-              remark: item.name
+              createTime: item.time,
+              companyName: item.name
             }
           })
         }
@@ -126,7 +125,7 @@ export default {
               <PromiseList :no-request="true" :prop-data-list="resultList"></PromiseList>
             </van-tab>
             <van-tab title="企业信息">
-              <EnterPriseList :no-request="true" ::prop-data-list="resultList"></EnterPriseList>
+              <EnterPriseList :no-request="true" :prop-data-list="resultList"></EnterPriseList>
             </van-tab>
           </van-tabs>
         </view>