浏览代码

静态页面

1002884655 3 年前
父节点
当前提交
c075305d29
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      project.config.json
  2. 2
    2
      src/pages/index/addedValueService/index.jsx

+ 1
- 1
project.config.json 查看文件

2
 	"miniprogramRoot": "dist/",
2
 	"miniprogramRoot": "dist/",
3
 	"projectname": "miniapp",
3
 	"projectname": "miniapp",
4
 	"description": "",
4
 	"description": "",
5
-	"appid": "wxe44244d1a5ea3364",
5
+	"appid": "wxc96058d57e77f373",
6
 	"setting": {
6
 	"setting": {
7
 		"urlCheck": false,
7
 		"urlCheck": false,
8
 		"es6": false,
8
 		"es6": false,

+ 2
- 2
src/pages/index/addedValueService/index.jsx 查看文件

50
       payload[item.key] = item.result || item.resultId
50
       payload[item.key] = item.result || item.resultId
51
     })
51
     })
52
     fetch({ url: API_HELP_FIND_HOUSE_SUBMIT, method: 'post', payload: { ...payload, questionnaire: JSON.stringify(params), type: 4 } }).then((res) => {
52
     fetch({ url: API_HELP_FIND_HOUSE_SUBMIT, method: 'post', payload: { ...payload, questionnaire: JSON.stringify(params), type: 4 } }).then((res) => {
53
-      setResultList(res.taBuildingList || [])
53
+      setResultList(res?.taBuildingList || [])
54
       setShowPopup(true)
54
       setShowPopup(true)
55
     })
55
     })
56
   }
56
   }
132
     <view className='components AddedValueService flex-v'>
132
     <view className='components AddedValueService flex-v'>
133
       {
133
       {
134
         ShowPopup &&
134
         ShowPopup &&
135
-        <SubmitBuyHouseResult List={ResultList.slice(0, 1)} ShowResult={false}></SubmitBuyHouseResult>
135
+        <SubmitBuyHouseResult List={ResultList} ShowResult={false}></SubmitBuyHouseResult>
136
       }
136
       }
137
       <view className='flex-item'>
137
       <view className='flex-item'>
138
         <view>
138
         <view>