用户组划分的自定义字段aidian本身有设置值后,但是使用官方接口,更新用户名:
uni.request({ url: getApp().globalData.apiURL + '&api_auth_code=' + this.token + '&api_auth_uid=' + this .uid + '&s=member&c=account', method: 'POST', header: { 'Content-Type': 'application/x-www-form-urlencoded' }, data: new URLSearchParams({ 'is_ajax': 1, 'data[name]': this.form.name }).toString(), success: (res) => { console.log(res); if (res.statusCode === 200) { uni.showToast({ title: res.data.msg, icon: 'none' }) } } })
这个字段值就被自动重置成0了,这个是bug吗