3232b8bb by renchao@pashanhoo.com

1

1 parent 692e4005
...@@ -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 this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl) 73 if (newValue.imgList.length > 0) {
74 this.thumbnailImages = newValue.imgList 74 this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl)
75 this.thumbnailImages = newValue.imgList
76 }
75 }, 77 },
76 deep: true 78 deep: true
77 } 79 }
......