mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
优化代码
This commit is contained in:
parent
23dbbafaf8
commit
fe0b50108b
@ -79,14 +79,14 @@
|
||||
success: function(res) {
|
||||
// TODO 判断
|
||||
let _inspectionTaskDetails = res.data.inspectionTaskDetails;
|
||||
_inspectionTaskDetails.forEach(function(_item) {
|
||||
if (_item.state == '20200407') {
|
||||
_item.photos.forEach(function(_photoTmp) {
|
||||
_photoTmp.url = url.hcBaseUrl + _photoTmp.url;
|
||||
});
|
||||
}
|
||||
// _inspectionTaskDetails.forEach(function(_item) {
|
||||
// if (_item.state == '20200407') {
|
||||
// _item.photos.forEach(function(_photoTmp) {
|
||||
// _photoTmp.url = url.hcBaseUrl + _photoTmp.url;
|
||||
// });
|
||||
// }
|
||||
|
||||
})
|
||||
// })
|
||||
_that.taskDetails = _inspectionTaskDetails;
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user