[FIX] 修改产品列表的判断

This commit is contained in:
wangmingzhe
2019-12-26 15:22:39 +08:00
parent df180f54e2
commit 1e87bdef03

View File

@@ -138,11 +138,6 @@ export default {
this.total = resultData.orderDTO.orderInfoDTO.orderAmount * 100
//险种数据格式化
riskDTOLst = resultData.orderDTO.insuredDTOs[0].riskDTOLst
if (riskDTOLst.length == 0) {
this.isShow = true
} else {
this.isShow = false
}
}
if (!riskDTOLst) riskDTOLst = []
@@ -151,6 +146,9 @@ export default {
this.chooseProducts = formatAllRisk(riskDTOLst)
if (riskDTOLst.length > 0) {
this.nextStepFlag = false
this.isShow = false
} else {
this.isShow = true
}
this.$toast.clear()
} else {