webtianjia

Results 6 issues of webtianjia

我在main.ts 引入了elementUi,使用时却找不到他的方法

![image](https://user-images.githubusercontent.com/22638382/59915329-f5942f00-944e-11e9-991b-8388b7fb8c70.png) ## 问题简单直接上图了

![image](https://user-images.githubusercontent.com/22638382/58090252-66022300-7bf9-11e9-8e25-18f2ac8e9755.png) ![image](https://user-images.githubusercontent.com/22638382/58090360-a95c9180-7bf9-11e9-91a6-a04057ed8a37.png)

wxParseImgTap(e) { console.log(this.node) if (!this.preview||!this.node.$host.hasPreview) return; const { src } = e.target.dataset; if (!src) return; this.node.$host.preview(src, e); }, 自己改的源码 在组件上多加了个参数 hasPreview 传递过来判断一哈子 建议参考一下