sunran 2 лет назад
Родитель
Сommit
e437374bba

+ 2 - 2
src/views/zhulao/components/Tabbar.vue

@@ -64,8 +64,8 @@ export default {
         if (!sessionStorage.getItem('userInfo')) {
           this.getUserInfo()
           //   var testdata = {
-          //     // mobile: '13811330231',
-          //     mobile: '16601217325',
+          //     mobile: '13811330231',
+          //     //   mobile: '16601217325',
           //     name: '测试',
           //   }
           //   sessionStorage.setItem('userInfo', JSON.stringify(testdata))

+ 3 - 0
src/views/zhulao/views/healthAssessmen/typeDetails/typemain.vue

@@ -511,6 +511,9 @@ export default {
       train4: 0,
     }
   },
+  mounted() {
+    window.scrollTo(0, 0)
+  },
   created() {
     this.userApi()
     this.name = this.$route.query.name