feat(components): svgIcon,添加type,调整size方案

This commit is contained in:
Lsq128
2022-02-26 23:47:34 +08:00
parent 1a9efee591
commit ce4e039f48
3 changed files with 16 additions and 35 deletions

View File

@ -1,7 +0,0 @@
import type { App } from 'vue';
import { SvgIcon } from '@/components';
/** 注册全局svg-icon组件 */
export default function setupNaiveUI(app: App) {
app.component('SvgIcon', SvgIcon);
}