king
2023-08-27 5e1d4d5155c57c43739d61914e2d29a64f9bb683
src/views/systemproc/proc/index.jsx
@@ -29,7 +29,7 @@
    
    if (sessionStorage.getItem('permFuncField')) {
      this.setState({permFuncs: JSON.parse(sessionStorage.getItem('permFuncField'))})
    } else {
    } else if (sessionStorage.getItem('UserID')) {
      Api.getCloudConfig({func: 'sPC_Get_Roles_sModular'}).then(res => {
        if (res.status) {
          let _permFuncs = []
@@ -58,7 +58,7 @@
      })
    }
    if (this.props.func) {
    if (this.props.func && sessionStorage.getItem('UserID')) {
      setTimeout(() => {
        this.search(this.props.func)
      }, 500)