|
@@ -162,7 +162,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
back() {
|
|
back() {
|
|
|
if (!fromRoute || !fromRoute.name) {
|
|
if (!fromRoute || !fromRoute.name) {
|
|
|
- this.$router.replace('/home');
|
|
|
|
|
|
|
+ this.$router.go(-1);
|
|
|
} else if (window.history.length <= 1) {
|
|
} else if (window.history.length <= 1) {
|
|
|
this.$router.replace('/home');
|
|
this.$router.replace('/home');
|
|
|
return false;
|
|
return false;
|