refactor: 调整 eslint.config.js,优化代码格式

This commit is contained in:
2024-10-28 21:20:08 +08:00
parent 0e8fe5ff1f
commit 9e5dff144b
176 changed files with 5956 additions and 5624 deletions

View File

@@ -24,7 +24,7 @@ import Icon500 from '@/components/icons/Icon500.vue'
defineOptions({ name: 'ErrorPage' })
const props = withDefaults(defineProps<Props>(), {
code: 403
code: 403,
})
interface Props {
code: number
@@ -32,7 +32,7 @@ interface Props {
const IconMap: Record<number, Component> = {
403: Icon403,
404: Icon404,
500: Icon500
500: Icon500,
}
const router = useRouter()