update icons

This commit is contained in:
2024-06-27 02:15:27 +00:00
parent 4637c9479b
commit 905e13b740
18 changed files with 222 additions and 92 deletions

9
src/utils/renders.ts Normal file
View File

@@ -0,0 +1,9 @@
import { Icon } from "@iconify/vue"
import { NFlex } from "naive-ui"
export function renderTableTitle(title: string, icon: string): any {
return h(NFlex, { align: "center", size: 4 }, () => [
h(Icon, { icon: icon, width: 20, height: 20 }),
title,
])
}