打开APP.vue 在style中写入高度 注意margin高度问题
<template>
<div id="app">
<router-view/>
</div>
</template>
<style>
html,
body,
#app {
width: 100%;
height: 100%;
margin: 0;
}
</style>
打开APP.vue 在style中写入高度 注意margin高度问题
<template>
<div id="app">
<router-view/>
</div>
</template>
<style>
html,
body,
#app {
width: 100%;
height: 100%;
margin: 0;
}
</style>