myjf007

Results 20 comments of myjf007

不是,我只要调用了wx.uploadFile或wx.makePhoneCall都会报这个错,在开发工具下 上传文件则是弹出文件选择窗口就会报错,打电话则不是不管取消还是确定都会报

![1547277204888](https://user-images.githubusercontent.com/16434947/51070466-a4e90080-167c-11e9-8dde-8611f3ece766.jpg)

![1547277616978](https://user-images.githubusercontent.com/16434947/51070524-9d762700-167d-11e9-87e2-6f97facf395f.jpg)

同样的代码,同样的开发工具,如果用Page()又不会报错

我配置的是 `wxpage.A({ config:{ route: '/pages/$page/$page' } })` 如果我按 `this.$route('add');` 这样来跳转,会直接报找不到文件 只能按下面这个方式来 `this.$route('../add/add');` 才可以,而且必须是放在 `onReady`才正常, 如果放在 `onLoad` 的话,会时好时坏

在页面pageA和pageB中各调用`this.$emit('show')` 在组件中ready方法中,调用`this.$on('show')`来显示内容

[https://developers.weixin.qq.com/s/dfritxmU7N54](url)

不是我定义的,是指向wxapge,所以才觉得奇怪

这不是错误,是用开发工具的体验评分中,有这么一个提醒