fix: 修改icon警告信息

This commit is contained in:
MTrun 2022-01-10 09:49:08 +08:00
parent 7200242386
commit e8057361d6
5 changed files with 26 additions and 3 deletions

View File

@ -0,0 +1,3 @@
import ErrorComponent from './index.vue';
export { ErrorComponent };

View File

@ -0,0 +1,9 @@
<template>
<div>
<n-result status="error" title="错误" description="加载失败啦"> </n-result>
</div>
</template>
<script setup></script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,3 @@
import LoadingComponent from './index.vue';
export { LoadingComponent };

View File

@ -0,0 +1,9 @@
<template>
<div>
<Skeleton repeat="3" :load="true"/>
</div>
</template>
<script setup lang="ts">
import { Skeleton } from '@/components/Skeleton/index'
</script>

View File

@ -27,7 +27,6 @@
<script setup lang="ts">
import { reactive, shallowRef } from 'vue'
import { renderIcon } from '@/utils'
import { icon } from '@/plugins'
import { ContentBox } from '../ContentBox/index'
import { useChartLayoutStore } from '@/store/modules/chartLayoutStore/chartLayoutStore'
@ -42,13 +41,13 @@ const tabList = reactive([
{
key: 'setting',
title: '配置项',
icon: renderIcon(CubeIcon),
icon: CubeIcon,
render: shallowRef(Setting)
},
{
key: 'behind',
title: '后端数据',
icon: renderIcon(FlashIcon),
icon: FlashIcon,
render: shallowRef(Behind)
}
])