提交 7fd2ae43 编写于 作者: DCloud_JSON's avatar DCloud_JSON

Update chat.vue

上级 d4d069ab
...@@ -752,7 +752,7 @@ ...@@ -752,7 +752,7 @@
cloudPath: Date.now() + uniCloud.getCurrentUserInfo().uid + '.' + name.split('.').pop(), cloudPath: Date.now() + uniCloud.getCurrentUserInfo().uid + '.' + name.split('.').pop(),
}).then(res=>{ }).then(res=>{
item.attrs.src = res.fileID item.attrs.src = res.fileID
console.log('上传成功',res); // console.log('上传成功',res);
resolve() resolve()
}).catch(e=>{ }).catch(e=>{
reject() reject()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册