[新增] scroll 组件

This commit is contained in:
就眠仪式
2021-10-03 00:01:14 +08:00
parent ff9ddb6a86
commit 895bed093c
4 changed files with 21 additions and 17 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 || 'LayScroll', Component)
}
export default Component as IDefineComponent

View File

@@ -0,0 +1,7 @@
<template>
<div class="layui-side-scroll"></div>
</template>
<script setup name="LayScroll" lang="ts">
</script>