去除token

This commit is contained in:
2025-05-13 17:26:48 +08:00
parent 8452fb9479
commit 53fbee0ca9
4 changed files with 47 additions and 22 deletions

View File

@ -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(() => {