Explorar o código

Merge branch 'master' of http://git.jhcs888.com/zpj/zh-new-promotion

USER-20230908AJ\Administrator %!s(int64=2) %!d(string=hai) anos
pai
achega
5561059cf4
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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){