App.vue 545 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <router-view />
  3. </template>
  4. <script setup lang="ts">
  5. /**
  6. * 用户信息在登录时写入 Pinia;H5 不额外拉取门户 current-user。
  7. * 401 由 HTTP 拦截器统一处理登出。
  8. */
  9. </script>
  10. <style lang="scss">
  11. * {
  12. margin: 0;
  13. padding: 0;
  14. box-sizing: border-box;
  15. }
  16. html,
  17. body,
  18. #app {
  19. width: 100%;
  20. height: 100%;
  21. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  22. sans-serif;
  23. -webkit-font-smoothing: antialiased;
  24. -moz-osx-font-smoothing: grayscale;
  25. }
  26. </style>