yuanyuan 2 anni fa
parent
commit
b2bac656e7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/AppBar.vue

+ 1 - 1
src/components/AppBar.vue

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