lxf
2025-07-05 8c51de06d839339f428ca0691099fe60740765cf
src/views/my/newindex.vue
@@ -131,7 +131,11 @@
  ]
})
const onRoute = (path) => {
  console.log(path)
  console.log(path, userStore)
  if (!userStore.userInfo || !userStore.userInfo.token) {
    router.push('/login')
    return
  }
  router.push(path)
}
onMounted(() => {