1
Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -70,8 +70,10 @@ | ... | @@ -70,8 +70,10 @@ |
| 70 | watch: { | 70 | watch: { |
| 71 | previewImg: { | 71 | previewImg: { |
| 72 | handler (newValue, oldValue) { | 72 | handler (newValue, oldValue) { |
| 73 | if (newValue.imgList.length > 0) { | ||
| 73 | this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl) | 74 | this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl) |
| 74 | this.thumbnailImages = newValue.imgList | 75 | this.thumbnailImages = newValue.imgList |
| 76 | } | ||
| 75 | }, | 77 | }, |
| 76 | deep: true | 78 | deep: true |
| 77 | } | 79 | } | ... | ... |
-
Please register or sign in to post a comment