feat: 首页架构

This commit is contained in:
MTrun
2021-12-18 16:36:43 +08:00
parent 44667a89f0
commit 90e45f6c23
31 changed files with 548 additions and 62 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { h } from 'vue'
import { h, DefineComponent } from 'vue'
import { NIcon } from 'naive-ui'
/**
@@ -14,7 +14,7 @@ export function getUUID(randomLength: number) {
/**
* * render 图标
*/
export const renderIcon = (icon: typeof NIcon) => {
export const renderIcon = (icon: any) => {
return () => h(NIcon, null, { default: () => h(icon) })
}