This commit is contained in:
liuye
2022-02-14 15:51:05 +08:00
parent 39dece8cbf
commit 61ac9836f6

View File

@@ -167,7 +167,7 @@ export default {
},
getDetail() {
this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => {
if (res.code == 0) {
if (res.data && res.code == 0) {
if(res.data.checkTime) {
res.data.checkTime = res.data.checkTime.substring(0, 10)
}