修复 src 结构

This commit is contained in:
就眠儀式
2022-01-22 21:30:17 +08:00
parent 96bb84020b
commit d0debbb1b2
186 changed files with 251 additions and 251 deletions

View File

@@ -0,0 +1,8 @@
.layui-body {
display: block;
flex: 1;
overflow: auto;
height: 100%;
box-sizing: border-box;
min-height: 300px;
}

View File

@@ -0,0 +1,9 @@
import type { App } from "vue";
import Component from "./index.vue";
import type { IDefineComponent } from "../type/index";
Component.install = (app: App) => {
app.component(Component.name || "LayBody", Component);
};
export default Component as IDefineComponent;

View File

@@ -0,0 +1,15 @@
<script lang="ts">
export default {
name: "LayBody",
};
</script>
<script setup name="LayBody" lang="ts">
import "./index.less";
</script>
<template>
<div class="layui-body">
<slot></slot>
</div>
</template>