xiaoxin hace 2 años
padre
commit
c7da180333
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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