perf: style

This commit is contained in:
xingyu 2022-12-06 21:38:59 +08:00
parent 8730de2100
commit 36adf2d240
4 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<Error type="403" @error-click="errorClick" /> <Error type="403" @error-click="errorClick()" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { Error } from '@/components/Error' import { Error } from '@/components/Error'

View File

@ -1,5 +1,5 @@
<template> <template>
<Error @error-click="errorClick" /> <Error @error-click="errorClick()" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { Error } from '@/components/Error' import { Error } from '@/components/Error'

View File

@ -1,5 +1,5 @@
<template> <template>
<Error type="500" @error-click="errorClick" /> <Error type="500" @error-click="errorClick()" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { Error } from '@/components/Error' import { Error } from '@/components/Error'

View File

@ -174,7 +174,6 @@ import { CountTo } from '@/components/CountTo'
import { Highlight } from '@/components/Highlight' import { Highlight } from '@/components/Highlight'
import type { WorkplaceTotal, Project, Notice, Shortcut } from './types' import type { WorkplaceTotal, Project, Notice, Shortcut } from './types'
import { pieOptions, barOptions } from './echarts-data' import { pieOptions, barOptions } from './echarts-data'
import { Icon } from 'vxe-table'
const { t } = useI18n() const { t } = useI18n()
const { wsCache } = useCache() const { wsCache } = useCache()