2019独角兽企业重金招聘Python工程师标准>>>  小程序

                                                                                       

onPageNotFound

在APP() 注册小程序的函数里

作用: 当要打开的页面不存在时会带着页面信息执行回调函数,可以指定跳入新的页面

APP({    onPageNotFound(res){        wx.redirectTo({            url: 'pages/...'        })    }})

TAG标签: 微信小程序域名重定向

http://www.xiaochengxub.com/read-100067.html