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

@@ -1,12 +1,5 @@
import type { App } from 'vue'
import SvgIcon from '@/components/SvgIcon/index.vue'// svg组件
const req: any = require.context('./svg', false, /\.svg$/)
const requireAll: any = (requireContext: any) => {
requireContext.keys().map(requireContext)
}
requireAll(req)
export function setupSvgIcon(app: App<Element>): void {
app.component('SvgIcon', SvgIcon)
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

BIN
src/assets/img/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB