Open LRY1994 opened 6 years ago
mounted() {
let imgList = [["0", "/upload/timg1535617753560.jpg"], ["1", "/upload/timg1535617753560.jpg"]]
for (let i=0;i<imgList.length;i++) {
let img = imgList[i]
this.$refs.md.$img2Url(img[0]-0, this.imgUrl+img[1]);
}
},
我这样写的,还是会报同样的错误,我哪里写的有问题呢?
mounted() {
let imgList = this.postOld.imgList;//[["0", "test-promise-deferred.png"], ["1", "test-serTimeout.png"]]