Simplify App bootstrap, cast HTTP helpers for vue-tsc, and align leftover string ids. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
545 B
Vue
30 lines
545 B
Vue
<template>
|
|
<router-view />
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
/**
|
|
* 用户信息在登录时写入 Pinia;H5 不额外拉取门户 current-user。
|
|
* 401 由 HTTP 拦截器统一处理登出。
|
|
*/
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#app {
|
|
width: 100%;
|
|
height: 100%;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
</style>
|