Commit 55357064 by cen

fix: 代保管人新增

1 parent 01d80ebc
......@@ -26,8 +26,12 @@ export default {
const { userInfo, params } = this
const data = await uni.$api.evaluationApi.getCustodyAgreementList()
this.updateParams(params, data || [])
const res = await uni.$api.evaluationApi.getCustodyAgreementList()
if(res.data.code == 0) {
this.updateParams(params, res.data.data || [])
}
},
initData (data) {
this.list = data
......
......@@ -144,7 +144,7 @@
</view>
</template>
</GeneralPopup>
<OrderPopup ref="orderPopup" :data="custodyAgreementList" :isDefeatOrder="true" :externalData="[]" @onConfirm="onConfirm" :popupType="14" />
<OrderPopup ref="orderPopup" :data="custodyAgreementList" :isDefeatOrder="true" :externalData="[]" @onConfirm="onConfirm" :popupType="14" idKey="id" />
</view>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!