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

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

P
Pan 已提交
13
<script>
P
Pan 已提交
14 15 16 17 18
  import errCode from './errcode';

  export default {
    components: { errCode }
  };
P
Pan 已提交
19
</script>
P
Pan 已提交
20

P
Pan 已提交
21
<style scoped>
P
Pan 已提交
22 23 24
  .errPage-container {
    padding: 30px;
  }
P
Pan 已提交
25
</style>