fix:404返回首页
This commit is contained in:
parent
5fe388aaf6
commit
9140c41a15
|
@ -17,7 +17,13 @@
|
||||||
export default {
|
export default {
|
||||||
methods: {
|
methods: {
|
||||||
gohome(){
|
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(){
|
goback(){
|
||||||
this.$router.go(-1);
|
this.$router.go(-1);
|
||||||
|
|
Loading…
Reference in New Issue