userManageUpsert中execute之后的返回处理
This commit is contained in:
parent
5807680912
commit
1073522993
|
|
@ -94,11 +94,10 @@ OakPage({
|
|||
this.setUpdateData('idCardType', IDCardTypeOptions[value as unknown as number].value)
|
||||
},
|
||||
async confirm() {
|
||||
await this.execute(this.data.oakId ? 'update': 'create', () => {
|
||||
if (this.data.oakFrom === 'user:manage:list') {
|
||||
wx.navigateBack();
|
||||
}
|
||||
});
|
||||
await this.execute(this.data.oakId ? 'update': 'create');
|
||||
if (this.data.oakFrom === 'user:manage:list') {
|
||||
wx.navigateBack();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
Reference in New Issue