更新记录
1.0.0(2025-09-16)
下载此版本
长期支持版本,可留言反馈问题
平台兼容性
uni-app(3.6.9)
Vue2 |
Vue3 |
Chrome |
Safari |
app-vue |
app-nvue |
Android |
iOS |
鸿蒙 |
√ |
√ |
√ |
√ |
× |
× |
√ |
√ |
√ |
微信小程序 |
支付宝小程序 |
抖音小程序 |
百度小程序 |
快手小程序 |
京东小程序 |
鸿蒙元服务 |
QQ小程序 |
飞书小程序 |
快应用-华为 |
快应用-联盟 |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
d-update-user-info
<d-update-user-info ref="updateUserInfoRef" @update="onUpdateUserInfo"></d-update-user-info>
onClickUseWXAvatar() {
console.log(this.userFind,'this.userFind')
console.log(this.$refs,'this.$refs')
this.$refs.updateUserInfoRef.show({
avatar:this.userFind.avatar,
nickName:this.userFind.nick_name,
})
}
onUpdateUserInfo(res) {
console.log(res,'res')
// this.userInfo.avatar = res.avatar
this.userInfo.nick_name = res.nickName
var that = this
if (res.isUpdateAvatar) {
var ww = that.$common.aliOssApiSyncPHP(res.avatar).then(file_url_path_all=>{
console.log(file_url_path_all)
var userParam = {
avatar:file_url_path_all.path,
}
if (res.nickName) {
userParam.nick_name = res.nickName
}
that.userInfo.avatar = file_url_path_all.path
that.$common.updateUserFindApi(userParam)
// uni.showModal({
// title:'提示',
// content:'修改成功',
// showCancel:false,
// success() {
// uni.switchTab({
// url:'/pages/index/my'
// })
// }
// })
})
}
},