zpj 2 vuotta sitten
vanhempi
commit
57f47f155e
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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){