体验官打卡
This commit is contained in:
@@ -70,6 +70,7 @@ Page({
|
||||
if(type == 'avatar') {
|
||||
wx.chooseMedia({
|
||||
count : 1,
|
||||
mediaType: 'image',
|
||||
success : path => {
|
||||
// 上传图片
|
||||
wx.$api.file.uploadImg(path.tempFiles[0].tempFilePath, {}).then(res=>{
|
||||
|
||||
Reference in New Issue
Block a user