fix(xumu): 修复保险申请和治疗管理页面的数据加载问题- 在 AppInsuranceApply 组件中,将 detailList 的默认值改为 detailList || [],以确保数据正确加载
- 在 AppTreatmentManage 组件中,将 detailList 的
This commit is contained in:
@@ -56,7 +56,7 @@ export default {
|
||||
return id && this.instance.post("/api/breed/treatment/getInfo", null, {params: {biochipEarNumber: id}}).then(res => {
|
||||
if (res?.data) {
|
||||
const detail = res.data
|
||||
detail.detailList = detail.immunityList || []
|
||||
detail.detailList = detail.treatmentList || []
|
||||
return this.detail = {...detail}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user