Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function UserCenter () {
const [state, events, loading, error] = usePage(init)
const { avatarUrl, userInfo } = useSelector(({ userCenter, globalData }) => ({
...userCenter,
...globalData,
}))
const { handleList } = state
return (