mirror of https://github.com/openspug/spug
F 修复账户所属角色某些情况下未正确展示的问题
parent
9b9182cc39
commit
cc3be4631a
|
@ -10,15 +10,8 @@ import { SearchForm, AuthDiv, Breadcrumb } from 'components';
|
|||
import ComTable from './Table';
|
||||
import ComForm from './Form';
|
||||
import store from './store';
|
||||
import rStore from '../role/store';
|
||||
|
||||
export default observer(function () {
|
||||
useEffect(() => {
|
||||
if (rStore.records.length === 0) {
|
||||
rStore.fetchRecords()
|
||||
}
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<AuthDiv auth="system.account.view">
|
||||
<Breadcrumb>
|
||||
|
|
Loading…
Reference in New Issue