onLaunch中监听newintent
this.checkArguments();  
plus.globalEvent.addEventListener('newintent', e => {  
    this.checkArguments(); // 检测启动参数  
});  
checkArguments() {  
    this.$utils.msg('runtime.launcher: ' + plus.runtime.launcher)  
        setTimeout(() => {  
            this.$utils.msg('runtime.arguments: ' + plus.runtime.arguments)  
        }, 5000)  
    }                                    
            
            
            
            
1 个回复
DCloud_UNI_LXH
iOS 是否正常?