xiaoxin 2 år sedan
förälder
incheckning
c7da180333
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      pages/my/my.vue

+ 1 - 1
pages/my/my.vue

@@ -144,9 +144,9 @@ export default {
 	},
 	onLoad() {
 		uni.$on('changeFlag', this.changeFlag)
-		this.getShow()
 	},
 	onShow() {
+		this.getShow()
 		let openid = uni.getStorageSync('openid')
 		if (openid) {
 			this.flag = true