Commit 59a41458 by peii

Merge branch 'develop' into product

parents 240d87f1 0e787c26
Showing with 4 additions and 5 deletions
...@@ -177,11 +177,10 @@ export function getSysProfiles() { ...@@ -177,11 +177,10 @@ export function getSysProfiles() {
} }
requestSysProfile(global_domain_config, params).then(res => { requestSysProfile(global_domain_config, params).then(res => {
console.log(profile_code, res) console.log(profile_code, res)
if (res.error_code === 0) {
let value = R.pathOr(originSysProfiles[profile_code], ['data', 'profile_value'])(res) let value = R.pathOr(originSysProfiles[profile_code], ['data', 'profile_value'])(res)
if (isNotBlank(value) && !isNaN(value)) value = parseInt(value) if (isNotBlank(value) && !isNaN(value)) value = parseInt(value)
dispatch(setSysProfiles(profile_code, value)) dispatch(setSysProfiles(profile_code, value))
}
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment