joey

Results 2 issues of joey

**这个 Issue 涉及以下平台:** - [X] 微信小程序 - [ ] 支付宝小程序 - [ ] 百度小程序 - [ ] 头条小程序 - [ ] 快手小程序 - [ ] QQ 轻应用 - [ ]...

need confirm

![image](https://user-images.githubusercontent.com/13912646/65211942-f7fc3880-dad2-11e9-812c-003abe60fdd9.png) nextVNode 为需要 path 的函数组件 Vnode,此处应让 nextVNode.el = prevVNode.el,要不然会导致 el 引用丢失, 测试代码为 ![image](https://user-images.githubusercontent.com/13912646/65212034-35f95c80-dad3-11e9-9c08-e4344646aac3.png) 在给函数式组件打 patch 之后,然后重新 path一个 element 组件,这时候会触发 replaceVnode,但是在移除 prevVnode 时,由于上述 bug,会导致 el 引用丢失,removeChild 失败,从而 pathc 失败