代码:
let entry = new ModifyMyInfoEntry();
entry.type = ModifyMyInfoType.Modify_DisplayName; // 0
entry.value = 'displayName'
console.log('new ModifyMyInfoEntry', entry)
wfc.modifyMyInfo([entry], () => {
console.log('modifyMyInfo success');
}, (err) => {
console.log('modifyMyInfo error', err);
})
报错:
modifyMyInfo error, [Number] -1 at pages/misc/ApiTestPage.vue:36