xingyu 2 anos atrás
pai
commit
52388705c0

+ 6 - 6
yudao-ui-admin-vue3/src/views/Home/Index.vue

@@ -161,17 +161,17 @@
   </el-row>
 </template>
 <script setup lang="ts">
-import { ElRow, ElCol, ElSkeleton, ElCard, ElDivider, ElLink } from 'element-plus'
-import { useI18n } from '@/hooks/web/useI18n'
 import { ref, reactive } from 'vue'
-import { CountTo } from '@/components/CountTo'
+import { set } from 'lodash-es'
+import { EChartsOption } from 'echarts'
+import { ElRow, ElCol, ElSkeleton, ElCard, ElDivider, ElLink } from 'element-plus'
 import { formatTime } from '@/utils'
+import { useI18n } from '@/hooks/web/useI18n'
+import { useCache } from '@/hooks/web/useCache'
 import { Echart } from '@/components/Echart'
-import { EChartsOption } from 'echarts'
+import { CountTo } from '@/components/CountTo'
 import { Highlight } from '@/components/Highlight'
 import type { WorkplaceTotal, Project, Notice, Shortcut } from './types'
-import { set } from 'lodash-es'
-import { useCache } from '@/hooks/web/useCache'
 import { pieOptions, barOptions } from './echarts-data'
 
 const { t } = useI18n()

+ 3 - 3
yudao-ui-admin-vue3/src/views/Home/Index2.vue

@@ -144,12 +144,12 @@
 import { ref, reactive } from 'vue'
 import { set } from 'lodash-es'
 import { EChartsOption } from 'echarts'
-import { Echart } from '@/components/Echart'
+import { ElRow, ElCol, ElCard, ElSkeleton } from 'element-plus'
 import { useI18n } from '@/hooks/web/useI18n'
+import { useDesign } from '@/hooks/web/useDesign'
+import { Echart } from '@/components/Echart'
 import { CountTo } from '@/components/CountTo'
 import type { AnalysisTotalTypes } from './types'
-import { useDesign } from '@/hooks/web/useDesign'
-import { ElRow, ElCol, ElCard, ElSkeleton } from 'element-plus'
 import { pieOptions, barOptions, lineOptions } from './echarts-data'
 
 const { t } = useI18n()

+ 1 - 1
yudao-ui-admin-vue3/src/views/Home/echarts-data.ts

@@ -1,6 +1,6 @@
 import { EChartsOption } from 'echarts'
-import { EChartsOption as EChartsWordOption } from 'echarts-wordcloud'
 import { useI18n } from '@/hooks/web/useI18n'
+import { EChartsOption as EChartsWordOption } from 'echarts-wordcloud'
 
 const { t } = useI18n()
 

+ 0 - 1
yudao-ui-admin-vue3/src/views/Redirect/Redirect.vue

@@ -6,7 +6,6 @@ import { unref } from 'vue'
 import { useRouter } from 'vue-router'
 
 const { currentRoute, replace } = useRouter()
-
 const { params, query } = unref(currentRoute)
 const { path, _redirect_type = 'path' } = params