Commit 52388705c08ac772498dcdff7c841e59d2ea4bab
1 parent
6f1f24b4
refactor
Showing
4 changed files
with
10 additions
and
11 deletions
yudao-ui-admin-vue3/src/views/Home/Index.vue
| ... | ... | @@ -161,17 +161,17 @@ |
| 161 | 161 | </el-row> |
| 162 | 162 | </template> |
| 163 | 163 | <script setup lang="ts"> |
| 164 | -import { ElRow, ElCol, ElSkeleton, ElCard, ElDivider, ElLink } from 'element-plus' | |
| 165 | -import { useI18n } from '@/hooks/web/useI18n' | |
| 166 | 164 | import { ref, reactive } from 'vue' |
| 167 | -import { CountTo } from '@/components/CountTo' | |
| 165 | +import { set } from 'lodash-es' | |
| 166 | +import { EChartsOption } from 'echarts' | |
| 167 | +import { ElRow, ElCol, ElSkeleton, ElCard, ElDivider, ElLink } from 'element-plus' | |
| 168 | 168 | import { formatTime } from '@/utils' |
| 169 | +import { useI18n } from '@/hooks/web/useI18n' | |
| 170 | +import { useCache } from '@/hooks/web/useCache' | |
| 169 | 171 | import { Echart } from '@/components/Echart' |
| 170 | -import { EChartsOption } from 'echarts' | |
| 172 | +import { CountTo } from '@/components/CountTo' | |
| 171 | 173 | import { Highlight } from '@/components/Highlight' |
| 172 | 174 | import type { WorkplaceTotal, Project, Notice, Shortcut } from './types' |
| 173 | -import { set } from 'lodash-es' | |
| 174 | -import { useCache } from '@/hooks/web/useCache' | |
| 175 | 175 | import { pieOptions, barOptions } from './echarts-data' |
| 176 | 176 | |
| 177 | 177 | const { t } = useI18n() | ... | ... |
yudao-ui-admin-vue3/src/views/Home/Index2.vue
| ... | ... | @@ -144,12 +144,12 @@ |
| 144 | 144 | import { ref, reactive } from 'vue' |
| 145 | 145 | import { set } from 'lodash-es' |
| 146 | 146 | import { EChartsOption } from 'echarts' |
| 147 | -import { Echart } from '@/components/Echart' | |
| 147 | +import { ElRow, ElCol, ElCard, ElSkeleton } from 'element-plus' | |
| 148 | 148 | import { useI18n } from '@/hooks/web/useI18n' |
| 149 | +import { useDesign } from '@/hooks/web/useDesign' | |
| 150 | +import { Echart } from '@/components/Echart' | |
| 149 | 151 | import { CountTo } from '@/components/CountTo' |
| 150 | 152 | import type { AnalysisTotalTypes } from './types' |
| 151 | -import { useDesign } from '@/hooks/web/useDesign' | |
| 152 | -import { ElRow, ElCol, ElCard, ElSkeleton } from 'element-plus' | |
| 153 | 153 | import { pieOptions, barOptions, lineOptions } from './echarts-data' |
| 154 | 154 | |
| 155 | 155 | const { t } = useI18n() | ... | ... |
yudao-ui-admin-vue3/src/views/Home/echarts-data.ts
yudao-ui-admin-vue3/src/views/Redirect/Redirect.vue