|
@@ -114,11 +114,13 @@
|
|
|
if(res.status==200){
|
|
|
this.infoData = res.data
|
|
|
let arr = []
|
|
|
- this.infoData.backlogPhotoList.map(item=>{
|
|
|
- if(item.photoPath) {
|
|
|
- arr.push(item.photoPath)
|
|
|
- }
|
|
|
- })
|
|
|
+ if (this.infoData.backlogPhotoList) {
|
|
|
+ this.infoData.backlogPhotoList.map(item=>{
|
|
|
+ if(item.photoPath) {
|
|
|
+ arr.push(item.photoPath)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
this.backlogPhotoList = arr
|
|
|
} else {
|
|
|
this.toashMsg(res.message)
|
|
@@ -157,6 +159,7 @@
|
|
|
handleBackLog(params).then(res=>{
|
|
|
this.toashMsg(res.message)
|
|
|
if(res.status==200){
|
|
|
+ uni.$emit('refreshBl-handle')
|
|
|
if (type=='COMMENTS') {
|
|
|
this.comment = ''
|
|
|
this.isFocus = false
|