@@ -305,6 +305,9 @@ export default {
},
methods: {
init() {
+ this._init()
+ },
+ _init(){
getWeixinId().then(res => {
this.getappIdList = res.data
});
@@ -74,7 +74,7 @@ export default {
onShow(){
- if (isLogin()) {
+ if (isLogin()&&!this.$util.isEmpty(this.getLoginInfo)) {
if (this.init) {
this.init()
}