mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 首页架构
This commit is contained in:
+2
-2
@@ -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) })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user