Преглед на файлове

router.back(fixed cache feature)

hare8999@163.com преди 2 години
родител
ревизия
70c78deb74
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/system/user/profile/components/UserStatisticsInfo.vue

+ 1 - 1
src/views/system/user/profile/components/UserStatisticsInfo.vue

@@ -140,7 +140,7 @@ export default {
   },
   methods: {
     goBack() {
-      this.$router.push({ path: "/user/record" });
+      this.$router.back()
     },
     changeTime() {
       if (this.value) {