|
@@ -4,8 +4,8 @@
|
|
|
<img src="https://gw.alipayobjects.com/zos/rmsportal/RVRUAYdCGeYNBWoKiIwB.svg"/>
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
- <h1>{{ }}</h1>
|
|
|
- <div class="desc">{{ }}</div>
|
|
|
+ <h1>异常信息</h1>
|
|
|
+ <div class="desc">{{desc}}</div>
|
|
|
<div class="action">
|
|
|
<a-button type="primary" @click="handleToHome">返回登录</a-button>
|
|
|
</div>
|
|
@@ -25,13 +25,20 @@
|
|
|
// },
|
|
|
data() {
|
|
|
return {
|
|
|
- errorInfo:''
|
|
|
+ title:'',
|
|
|
+ desc:''
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
handleToHome() {
|
|
|
this.$router.push({name: 'login'})
|
|
|
}
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ console.log(this.$route.query);
|
|
|
+ this.title=this.$route.query.title;
|
|
|
+ this.desc=this.$route.query.desc;
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</script>
|