在 index.html 中添加如下代码,即可解决(方法不唯一)
<style>
* {
margin: 0;
padding: 0;
}
html,body,#app {
height: 100vh;
overflow: hidden;
}
</style>
在 index.html 中添加如下代码,即可解决(方法不唯一)
<style>
* {
margin: 0;
padding: 0;
}
html,body,#app {
height: 100vh;
overflow: hidden;
}
</style>