linshi
This commit is contained in:
@@ -37,13 +37,10 @@ export default {
|
||||
methods:{
|
||||
tab(){
|
||||
window.console.log(this.types,"llk")
|
||||
if(this.types=="1"){
|
||||
this.$router.push({
|
||||
path: '/sign'
|
||||
});
|
||||
this.$emit("wz",this.types,this.id)
|
||||
window.console.log( this.$router)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
</script>
|
||||
@@ -124,17 +124,17 @@ export default {
|
||||
switch (e) {
|
||||
case 0:
|
||||
this.$router.push({
|
||||
path: `/index`
|
||||
path: '/'
|
||||
});
|
||||
break;
|
||||
case 1:
|
||||
this.$router.push({
|
||||
path: `/PersonalHomepage`
|
||||
path: '/PersonalHomepage'
|
||||
});
|
||||
break;
|
||||
case 2:
|
||||
this.$router.push({
|
||||
path: `/login`
|
||||
path: '/login'
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user