feat : 新增编辑,添加,删除工作经历功能, 修改我的简历页,
perf : 全局navTo方法新增延迟(更好的表现动画)
This commit is contained in:
@@ -250,8 +250,15 @@ function selectAvatar() {
|
||||
sourceType: ["album", "camera"],
|
||||
count: 1,
|
||||
success: ({ tempFilePaths, tempFiles }) => {
|
||||
console.log(`选择的图片:${tempFilePaths}`);
|
||||
console.warn("没有做后续上传逻辑!!!!!!!");
|
||||
$api
|
||||
.uploadFile(tempFilePaths[0], true)
|
||||
.then((res) => {
|
||||
res = JSON.parse(res);
|
||||
if (res.msg) fromValue.avatar = res.msg;
|
||||
})
|
||||
.catch((err) => {
|
||||
$api.msg("上传失败");
|
||||
});
|
||||
},
|
||||
fail: (error) => {},
|
||||
});
|
||||
@@ -284,6 +291,7 @@ function selectAvatar() {
|
||||
.avatar{
|
||||
width:110rpx;
|
||||
height: 110rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
.content-input
|
||||
|
||||
Reference in New Issue
Block a user