optmization

This commit is contained in:
jiaming
2018-12-24 18:24:52 +08:00
parent 5dc503916e
commit 744b0efabb
3 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,21 @@
<template>
<div class="for-slot">
<slot />
</div>
</template>
<script>
export default {
name: 'ForSlot'
}
</script>
<style lang="less">
.for-slot {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
}
</style>