zpj 2 år sedan
förälder
incheckning
57f47f155e
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      pages/index/index.vue

+ 3 - 0
pages/index/index.vue

@@ -127,6 +127,9 @@
 			this.userName = uni.getStorageSync('userName');
 			this.$wow.init();
 		},
+		mounted() {
+			this.userName = uni.getStorageSync('userName');
+		},
 		methods: {
 			swiperChange(e){
 				if(e.detail.current!=this.index){