From 3835cf1ca8d5ac8475052d3876ebeb4a2c4160f1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 22 Jan 2024 14:22:02 +0800
Subject: [PATCH] 根据角色,动态切换首页,及首页变更的一系列相关调整

---
 src/components/error-page/404.vue |   27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/src/components/error-page/404.vue b/src/components/error-page/404.vue
index 7ba262e..fc4919e 100644
--- a/src/components/error-page/404.vue
+++ b/src/components/error-page/404.vue
@@ -1,23 +1,22 @@
 <template>
-  <div class="error-page">
-    <div class="img"
-         style=" background-image: url('/img/bg/404.svg');"></div>
-    <div class="content">
-      <h1>404</h1>
-      <div class="desc">抱歉,你访问的页面不存在</div>
-      <div class="actions">
-        <router-link :to="{path:'/'}">
-          <el-button type="primary">返回首页</el-button>
-        </router-link>
-      </div>
+    <div class="error-page">
+        <div class="img" style=" background-image: url('/img/bg/404.svg');"></div>
+        <div class="content">
+            <h1>404</h1>
+            <div class="desc">抱歉,你访问的页面不存在</div>
+            <div class="actions">
+                <router-link :to="{ path: '/' }">
+                    <el-button type="primary">返回首页</el-button>
+                </router-link>
+            </div>
+        </div>
     </div>
-  </div>
 </template>
 
 <script>
 export default {
-  name: "error-404"
-};
+    name: "error-404"
+}
 </script>
 <style lang="scss" scoped>
 @import "./style.scss";

--
Gitblit v1.9.3