去除token
This commit is contained in:
@ -55,10 +55,6 @@
|
||||
value: {
|
||||
type: Boolean,
|
||||
required: true
|
||||
},
|
||||
token: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@ -79,7 +75,7 @@
|
||||
mask: true,
|
||||
});
|
||||
|
||||
uploadFile(avatarUrl, this.token).then((res) => {
|
||||
uploadFile(avatarUrl).then((res) => {
|
||||
uni.hideLoading();
|
||||
this.avatar = res.url;
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user