fix:404返回首页
This commit is contained in:
parent
5fe388aaf6
commit
9140c41a15
|
@ -17,8 +17,14 @@
|
|||
export default {
|
||||
methods: {
|
||||
gohome(){
|
||||
location.href="#/"
|
||||
},
|
||||
let base_dashboard = this.$TOOL.data.get('BASE_INFO').base.base_dashboard;
|
||||
if (base_dashboard == null || base_dashboard == undefined) {
|
||||
base_dashboard = '/dashboard'
|
||||
}
|
||||
this.$router.replace({
|
||||
path: base_dashboard,
|
||||
});
|
||||
},
|
||||
goback(){
|
||||
this.$router.go(-1);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue