Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

渲染不出任何东西 #76

Open
Alwayslazydog opened this issue Apr 22, 2019 · 12 comments
Open

渲染不出任何东西 #76

Alwayslazydog opened this issue Apr 22, 2019 · 12 comments

Comments

@Alwayslazydog
Copy link

import wxParse from 'mpvue-wxparse'

components:{
...
wxParse
},

data(){
return {
...
article:'

test
'
}
}
@import url("~mpvue-wxparse/src/wxParse.css");
编译没有报错 控制台也没有错误信息

image


渲染出来的parse是这样的

@Alwayslazydog
Copy link
Author

<wxParse :content="article" />

@Alwayslazydog
Copy link
Author

@F-loat 大哥打扰一下,请问一哈不知道我哪里出现了问题鸭

@F-loat
Copy link
Owner

F-loat commented Apr 22, 2019

examples 目录跑起来有问题吗,没的话你对比下看看

@Alwayslazydog
Copy link
Author

examples 目录跑起来有问题吗,没的话你对比下看看

跑起来没问题,我写的放在examples也能跑,看起来像是数据没传进去,传到wxParse的内容没有渲染出来

@Alwayslazydog
Copy link
Author

examples 目录跑起来有问题吗,没的话你对比下看看

examples 目录跑起来有问题吗,没的话你对比下看看

跑起来没问题,我写的放在examples也能跑,看起来像是数据没传进去,传到wxParse的内容没有渲染出来

有传进去,但是没有渲染出来嗷

@wuwangxu
Copy link

我也遇到了 解决了么

@Alwayslazydog
Copy link
Author

我也遇到了 解决了么

没呢,有点赶,暂时用着微信自己的rich-text了

@F-loat
Copy link
Owner

F-loat commented Apr 24, 2019

用的是哪个版本的 mpvue,复现步骤说一下,最好从创建项目开始

@wuwangxu
Copy link

搞明白了 数据比较大导致性能差,用推荐的那个插件吧

@wuwangxu
Copy link

我也遇到了 解决了么

没呢,有点赶,暂时用着微信自己的rich-text了
看我下边回复的

@watsonhaw
Copy link

看看组件里面是否接受到了鸭~

@Alwayslazydog
Copy link
Author

看看组件里面是否接受到了鸭~

组件里面接收到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants