fix reading resultObj

This commit is contained in:
Amjacks 2025-04-10 15:35:52 +08:00
parent 108d4a7193
commit f7fab6f47b

View File

@ -133,8 +133,9 @@ function validatePassword(rule: any, value: any, callback: any) {
function getORGFn() { function getORGFn() {
getORG({ orgNo: null}).then((res: any) => { getORG({ orgNo: null}).then((res: any) => {
console.log(res) if (res && res.resultObj) {
state.orgList = res.resultObj; state.orgList = res.resultObj
}
}).catch(() => { }); }).catch(() => { });
} }