fix reading resultObj
This commit is contained in:
parent
108d4a7193
commit
f7fab6f47b
@ -133,8 +133,9 @@ function validatePassword(rule: any, value: any, callback: any) {
|
||||
|
||||
function getORGFn() {
|
||||
getORG({ orgNo: null}).then((res: any) => {
|
||||
console.log(res)
|
||||
state.orgList = res.resultObj;
|
||||
if (res && res.resultObj) {
|
||||
state.orgList = res.resultObj
|
||||
}
|
||||
}).catch(() => { });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user