refactor(projects): perf code

This commit is contained in:
Soybean
2024-03-24 03:02:08 +08:00
parent 187098136e
commit f91ef30bd5
54 changed files with 219 additions and 119 deletions

View File

@ -9,7 +9,7 @@ defineOptions({
<template>
<NCard :title="$t('page.home.creativity')" :bordered="false" size="small" class="h-full card-wrapper">
<div class="h-full flex-center">
<IconLocalBanner class="text-400px text-primary sm:text-320px" />
<icon-local-banner class="text-400px text-primary sm:text-320px" />
</div>
</NCard>
</template>

View File

@ -2,7 +2,7 @@
import { watch } from 'vue';
import { $t } from '@/locales';
import { useAppStore } from '@/store/modules/app';
import { useEcharts } from '@/hooks/chart/use-echarts';
import { useEcharts } from '@/hooks/common/echarts';
defineOptions({
name: 'LineChart'

View File

@ -2,7 +2,7 @@
import { watch } from 'vue';
import { $t } from '@/locales';
import { useAppStore } from '@/store/modules/app';
import { useEcharts } from '@/hooks/chart/use-echarts';
import { useEcharts } from '@/hooks/common/echarts';
defineOptions({
name: 'PieChart'