This commit is contained in:
2025-05-13 16:56:30 +08:00
838 changed files with 923 additions and 88523 deletions

View File

@ -203,6 +203,10 @@ var _default = {
value: {
type: Boolean,
required: true
},
token: {
type: String,
default: ''
}
},
data: function data() {
@ -223,7 +227,7 @@ var _default = {
title: "正在上传中...",
mask: true
});
(0, _tools.uploadFile)(avatarUrl).then(function (res) {
(0, _tools.uploadFile)(avatarUrl, this.token).then(function (res) {
uni.hideLoading();
_this.avatar = res.url;
}).catch(function () {