[新增] buttonContainer 按钮容器

This commit is contained in:
就眠仪式
2021-09-27 14:08:05 +08:00
parent 5479eabf66
commit 3b60c0288b
4 changed files with 52 additions and 7 deletions

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 || 'LayButtonContainer', Component)
}
export default Component as IDefineComponent

View File

@@ -0,0 +1,9 @@
<template>
<div class="layui-btn-container">
<slot></slot>
</div>
</template>
<script setup name="LayButtonContainer" lang="ts">
</script>