refactor: 使用eslint.config.js替换.eslintrc.js并遵循esm语法 (#786)

This commit is contained in:
xiaoming
2023-11-10 23:18:01 +08:00
committed by GitHub
parent 18158f8e0d
commit 5b7dd8c3e2
102 changed files with 431 additions and 424 deletions

View File

@@ -14,8 +14,8 @@ const router = useRouter();
<noExist />
<div class="ml-12">
<p
class="font-medium text-4xl mb-4 dark:text-white"
v-motion
class="font-medium text-4xl mb-4 dark:text-white"
:initial="{
opacity: 0,
y: 100
@@ -31,8 +31,8 @@ const router = useRouter();
404
</p>
<p
class="mb-4 text-gray-500"
v-motion
class="mb-4 text-gray-500"
:initial="{
opacity: 0,
y: 100
@@ -48,9 +48,8 @@ const router = useRouter();
抱歉你访问的页面不存在
</p>
<el-button
type="primary"
@click="router.push('/')"
v-motion
type="primary"
:initial="{
opacity: 0,
y: 100
@@ -62,6 +61,7 @@ const router = useRouter();
delay: 500
}
}"
@click="router.push('/')"
>
返回首页
</el-button>