修改APP.vue的内外边距
This commit is contained in:
parent
35463b2997
commit
a724363711
12
src/App.vue
12
src/App.vue
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="app">
|
<div id="app" class="app1">
|
||||||
<router-view v-if="isRouterAlive"></router-view>
|
<router-view v-if="isRouterAlive"></router-view>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -33,6 +33,12 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
|
.app1 {
|
||||||
|
// background-color: #269b33;
|
||||||
|
position: relative;
|
||||||
|
top: 0px;
|
||||||
|
margin: 0;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue