| | |
| | | } else { |
| | | notify(res.data.msg, { type: 'error' }); |
| | | } |
| | | setLoading(false); |
| | | } |
| | | setLoading(true); |
| | | setTimeout(() => { |
| | | http(); |
| | | setLoading(false); |
| | | }, 200); |
| | | }, [role, originMenuIds]) |
| | | |
| | |
| | | <Skeleton variant="rounded" width={200} height={20} style={{ marginLeft: '50px' }} /> |
| | | <Skeleton variant="rounded" width={200} height={20} style={{ marginLeft: '50px' }} /> |
| | | <Skeleton variant="rounded" width={200} height={20} style={{ marginLeft: '50px' }} /> |
| | | <Skeleton variant="rounded" width={200} height={20} /> |
| | | <Skeleton variant="rounded" width={200} height={20} style={{ marginLeft: '50px' }} /> |
| | | <Skeleton variant="rounded" width={200} height={20} style={{ marginLeft: '50px' }} /> |
| | | <Skeleton variant="rounded" width={200} height={20} style={{ marginLeft: '50px' }} /> |
| | | </Stack> |
| | | ) |
| | | } |