在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML/ ionic2 jpush插件 打開通知消息后 跳轉(zhuǎn)頁面問題

ionic2 jpush插件 打開通知消息后 跳轉(zhuǎn)頁面問題

 onOpenNotification = function (event) {
       this.events.publish('GET_MESSAGE');    
        })

//這段是在app.components.ts

   this.event.subscribe('GET_MESSAGE', () => {
        this.rootPage = MsgPage;
    })
    
    這樣始終不行,請(qǐng)問為什么?

回答
編輯回答
毀與悔

你的方法使用錯(cuò)誤,具體可以參考官方文檔的寫法,具體見:Navigating from the Root component

2017年9月23日 14:59