mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-23 17:55:37 +08:00
整理个人主页不对的,或未完善的地方
This commit is contained in:
@@ -126,8 +126,17 @@
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
mounted() {
|
||||
created(){
|
||||
if(this.$route.query.id && this.$route.query.id!=''){
|
||||
this.init();
|
||||
}else{
|
||||
//this.$message.error("参数错误");
|
||||
//跳转到错误页面
|
||||
this.$router.push({path:'/404'})
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods:{
|
||||
init(){
|
||||
|
||||
Reference in New Issue
Block a user