fix: 解决所有icon的引入路径问题

This commit is contained in:
MTrun
2021-12-20 16:39:19 +08:00
parent 45884a2918
commit 07eabd8869
11 changed files with 88 additions and 40 deletions
+3 -6
View File
@@ -24,12 +24,9 @@ import { h, ref } from 'vue'
import { NAvatar, NText } from 'naive-ui'
import { renderIcon } from '@/utils'
import { openDoc, logout } from '@/utils'
import {
Person as PersonIcon,
LogOutOutline as LogOutOutlineIcon,
DocumentText as DocumentTextIcon,
ChatboxEllipses as ChatboxEllipsesIcon
} from '@vicons/ionicons5'
import { icon } from '@/plugins'
const { DocumentTextIcon, ChatboxEllipsesIcon, PersonIcon, LogOutOutlineIcon } = icon.ionicons5
const imageUrl = 'https://www.naiveui.com/assets/naivelogo.93278402.svg'