抖音小程序,调用 tt.getUserProfile 返回 getUserProfile:fail must be invoked by user tap gesture
获取用户信息getUserProfile(){tt.getUserProfile({success:(res)=>{console.log('tt.getUserProfilesuccess,获取的用户信息:',res);this.setData({userInfo:res.userInfo,});},fail(err){console.log('tt.getUserProfilefailed',