32 lines
927 B
Vue
32 lines
927 B
Vue
<template>
|
||
<div class="errPage-container">
|
||
<errorA></errorA>
|
||
<errorB></errorB>
|
||
|
||
<h3>请点击右上角bug小图表</h3>
|
||
<code>
|
||
现在的管理后台基本都是spa的形式了,它增强了用户体验,但同时也会增加页面出问题的可能性,可能一个小小的疏忽就导致整个页面的死锁。好在 Vue 官网提供了一个方法来捕获处理异常.
|
||
<a target="_blank" class="link-type" href="https://panjiachen.github.io/vue-element-admin-site/#/error?id=%e4%bb%a3%e7%a0%81">文档介绍</a>
|
||
</code>
|
||
<a href="#">
|
||
<img src='https://wpimg.wallstcn.com/360e4842-4db5-42d0-b078-f9a84a825546.gif'>
|
||
</a>
|
||
</div>
|
||
</template>
|
||
|
||
<script>
|
||
import errorA from './errorTestA'
|
||
import errorB from './errorTestB'
|
||
|
||
export default {
|
||
name: 'errorLog',
|
||
components: { errorA, errorB }
|
||
}
|
||
</script>
|
||
|
||
<style scoped>
|
||
.errPage-container {
|
||
padding: 30px;
|
||
}
|
||
</style>
|