refactor icons

This commit is contained in:
2024-06-26 16:32:59 +00:00
parent 027dd332e1
commit afa36e9f08
32 changed files with 128 additions and 460 deletions

View File

@@ -6,6 +6,7 @@ import { Announcement } from "~/utils/types"
import { isDesktop } from "~/shared/composables/breakpoints"
import { NTag } from "naive-ui"
import TitleWithTag from "./components/TitleWithTag.vue"
import { Icon } from "@iconify/vue"
const total = ref(0)
const content = ref("")
@@ -25,7 +26,7 @@ const columns: DataTableColumn<Announcement>[] = [
{
key: "tag",
title: "标签",
render: (row) => h(NTag, row.tag || "公告"),
render: (row) => h(NTag, () => row.tag || "公告"),
},
{
key: "create_time",