修复更换头像刷新不及时的问题
This commit is contained in:
@@ -115,7 +115,7 @@ export default {
|
||||
},
|
||||
success: uploadFileRes => {
|
||||
let obj = JSON.parse(uploadFileRes.data)
|
||||
that.fileurl = obj.data.file_path
|
||||
that.fileurl = obj.data.file_path+'?'+new Date().getTime()
|
||||
that.filename = obj.data.file_name
|
||||
that.num++
|
||||
console.log(that.fileurl,that.filename)
|
||||
|
||||
Reference in New Issue
Block a user