提交 Github 地址, 更改 ChangeLog 格式
This commit is contained in:
@@ -8,6 +8,7 @@ import '@layui/icons-vue/lib/index.css';
|
||||
import { layer } from '@layui/layer-vue'
|
||||
|
||||
import LayModal from './module/layer/modal/index'
|
||||
import LayBacktop from './module/backTop/index'
|
||||
import LayAvatar from './module/avatar/index'
|
||||
import LayRadio from './module/radio/index'
|
||||
import LayButton from './module/button/index'
|
||||
@@ -71,6 +72,7 @@ const components: Record<string, IDefineComponent> = {
|
||||
LayRadio,
|
||||
LayButton,
|
||||
LayIcon,
|
||||
LayBacktop,
|
||||
LayLayout,
|
||||
LaySide,
|
||||
LayHeader,
|
||||
@@ -143,6 +145,7 @@ export {
|
||||
LayRadio,
|
||||
LayIcon,
|
||||
LayButton,
|
||||
LayBacktop,
|
||||
LayLayout,
|
||||
LaySide,
|
||||
LayHeader,
|
||||
|
||||
9
src/module/backTop/index.ts
Normal file
9
src/module/backTop/index.ts
Normal 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 || 'LayBacktop', Component)
|
||||
}
|
||||
|
||||
export default Component as IDefineComponent
|
||||
14
src/module/backTop/index.vue
Normal file
14
src/module/backTop/index.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<ul class="layui-fixbar">
|
||||
<li class="layui-icon layui-fixbar-top" style="display: list-item"></li>
|
||||
</ul>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "LayBacktop"
|
||||
}
|
||||
</script>
|
||||
|
||||
<script lang="ts" setup>
|
||||
</script>
|
||||
Reference in New Issue
Block a user