标签: ionic-framework publish-subscribe ionic-events
in app.component.ts this.events.subscribe('user:created', (val) => { console.log('hello called'); } and called it from home.ts this.events.publish('user:created','userDataHome');
当应用程序第一次加载但是当我注销时,它可以正常运行再次登录未被调用的订阅方法