未验证 提交 bcb587c1 编写于 作者: DCloud_JSON's avatar DCloud_JSON 提交者: Gitee

update docs/uniCloud/uni-push/starter.md.

上级 5f85d4a0
......@@ -99,9 +99,9 @@ uni-push2.0需要开发者开通uniCloud。不管您的业务服务器是否使
export default {
onLaunch: function() {
console.log('App Launch')
uni.onPushMessage((res)=>{
console.log(res)//监听推送消息
})
uni.onPushMessage((res) => {
console.log(res) //监听推送消息
})
},
onShow: function() {
console.log('App Show')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册