chenjun 2 年之前
父节点
当前提交
a4036562f4
共有 3 个文件被更改,包括 3 次插入14 次删除
  1. 1 1
      src/layout/Layout.vue
  2. 0 4
      src/views/error-page/401.vue
  3. 2 9
      src/views/error-page/404.vue

+ 1 - 1
src/layout/Layout.vue

@@ -54,7 +54,7 @@ ResizeHook()
   transition: width 0.28s;
   width: var(--side-bar-width) !important;
   background-color: var(--el-menu-bg-color);
-  height: 100%;
+  height: calc(100% - 48px);
   position: fixed;
   font-size: 0;
   top: 48px;

+ 0 - 4
src/views/error-page/401.vue

@@ -14,10 +14,6 @@
           <li class="link-type">
             <router-link to="/dashboard">回首页</router-link>
           </li>
-          <li class="link-type">
-            <a href="https://www.taobao.com/">随便看看</a>
-          </li>
-          <li><a href="#" @click.prevent="dialogVisible = true">点我看图</a></li>
         </ul>
       </el-col>
       <el-col :span="12">

+ 2 - 9
src/views/error-page/404.vue

@@ -9,15 +9,8 @@
       </div>
       <div class="bullshit">
         <div class="bullshit__oops">OOPS!</div>
-        <div class="bullshit__info">
-          All rights reserved
-          <a style="color: #20a0ff" href="https://wallstreetcn.com" target="_blank">wallstreetcn</a>
-        </div>
-        <div class="bullshit__headline">{{ message }}</div>
-        <div class="bullshit__info">
-          Please check that the URL you entered is correct, or click the button below to return to the homepage.
-        </div>
-        <a href="" class="bullshit__return-home">Back to home</a>
+
+        <a href="" class="bullshit__return-home">返回首页</a>
       </div>
     </div>
   </div>