1002884655 il y a 3 ans
Parent
révision
c075305d29
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1
    1
      project.config.json
  2. 2
    2
      src/pages/index/addedValueService/index.jsx

+ 1
- 1
project.config.json Voir le fichier

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

+ 2
- 2
src/pages/index/addedValueService/index.jsx Voir le fichier

@@ -50,7 +50,7 @@ export default function AddedValueService () {
50 50
       payload[item.key] = item.result || item.resultId
51 51
     })
52 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 54
       setShowPopup(true)
55 55
     })
56 56
   }
@@ -132,7 +132,7 @@ export default function AddedValueService () {
132 132
     <view className='components AddedValueService flex-v'>
133 133
       {
134 134
         ShowPopup &&
135
-        <SubmitBuyHouseResult List={ResultList.slice(0, 1)} ShowResult={false}></SubmitBuyHouseResult>
135
+        <SubmitBuyHouseResult List={ResultList} ShowResult={false}></SubmitBuyHouseResult>
136 136
       }
137 137
       <view className='flex-item'>
138 138
         <view>