App.vue 694 Bytes
<!--
 * @Description: 
 * @Author: huyue
 * @Date: 2023-08-31 11:35:41
 * @LastEditors: huyue
 * @LastEditTime: 2023-10-26 14:29:54
-->
<template>
  <!-- <nav>
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link>
  </nav> -->
  <router-view class="warp-content" />
</template>
<script lang="ts" setup>
import { onMounted } from 'vue'
onMounted(() => {
  document.body.style.setProperty('--el-color-primary', '#5850FF')
})
</script>
<style lang="scss">
* {
  padding: 0;
  margin: 0;
}
html,
body {
  height: 100%;
  // min-height: 100%;
  // min-height: 100%;
}
.warp-content {
  height: 100%;
}
#app {
  height: 100%;
  // min-height: 100%;
}
</style>