摘要: Vue中上传文件,使用fr.onload = function(){} vue无法进行数据绑定 核心代码如下: 1 fr.onload = function () { 2 this.imageUrl = fr.result; 3 // console.log(this.imageUrl); 4 }; 阅读全文
posted @ 2020-03-09 21:43 ABKing 阅读(927) 评论(0) 推荐(0) 编辑