index.vue 731 字节
Newer Older
P
Pan 已提交
1 2
<template>
  <div class="errPage-container">
P
Pan 已提交
3 4
    <err-code/>

P
Pan 已提交
5
    <h3>请点击右上角bug小图表</h3>
P
Pan 已提交
6
    <code>
P
Pan 已提交
7 8 9 10 11
      现在的管理后台基本都是spa的形式了,它增强了用户体验,但同时也会怎增加页面出问题的可能性,可能一个小小的疏忽就导致整个页面的死锁。好在Vue官网提供了一个方法来捕获处理异常
    </code>
    <a href="#"><img src='../../../documentImg/code1.png'></a>
  </div>
</template>
P
Pan 已提交
12

P
Pan 已提交
13 14 15 16 17 18 19 20 21 22 23
<script>
    import errCode from './errcode';
    export default {
      components: { errCode },
      methods: {
        back() {
          this.$router.go(-1)
        }
      }
    };
</script>
P
Pan 已提交
24

P
Pan 已提交
25 26 27 28 29
<style scoped>
.errPage-container{
  padding: 30px;
}
</style>