소스 검색

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) {