git hooks test

This commit is contained in:
chenkl
2021-01-07 08:50:19 +08:00
parent 5bfe4d236f
commit 216be1cbc5
25 changed files with 800 additions and 1488 deletions

View File

@@ -0,0 +1,16 @@
<template>
<el-backtop
target=".main__wrap--content .el-scrollbar__wrap"
:bottom="100"
/>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
name: 'Backtop'
})
</script>
<style>
</style>

View File

@@ -2,7 +2,7 @@
<el-dropdown class="avatar-container" trigger="hover">
<div>
<div class="avatar-wrapper">
<img :src="require('@/assets/img/avatar.gif')" class="user-avatar">
<img :src="require('@/assets/img/avatar.png')" class="user-avatar">
<span class="name-item">管理员</span>
</div>
</div>

View File

@@ -1,12 +1,16 @@
import type { App } from 'vue'
import SvgIcon from './SvgIcon/index.vue'// svg组件
import Dialog from './Dialog/index.vue'// Dialog组件
import ComTable from './Table/index.vue'// Table组件
import ComSearch from './Search/index.vue'// Search组件
import ComDetail from './Detail/index.vue'// Detail组件
import '@/assets/icons' // 引入svg图标
export function setupGlobCom(app: App<Element>): void {
app.component('ComDialog', Dialog)
app.component('ComTable', ComTable)
app.component('ComSearch', ComSearch)
app.component('ComDetail', ComDetail)
app.component('SvgIcon', SvgIcon)
}