-
wxParse.js? [sm]:134 Uncaught (in promise) TypeError: Cannot read property 'nodes' of undefined
at Object.wxParseTemArray (http://127.0.0.1:57470/appservice/plugins/wxParse/wxParse.js:179:42)
…
65man updated
5 years ago
-
-
async onLoad () {
let res = await wepy.getSystemInfo()
this.sliderLeft = (res.windowWidth / this.tabs.length - sliderWidth) / 2
this.sliderOffset = res.windowWidth / this.tabs.le…
-
WAService.js:9 Uncaught Error: module "bower_components/timeago.js/dist/timeago.js" is not definedrequire @ WAService.js:9(anonymous function) @ WAService.js:9(anonymous function) @ utils.js [sm]:1req…
-
https://github.com/icindy/wxParse/blob/master/wxParse/html2json.js#L112
代码里使用了 console.dir ,这不是 JS 标准函数,会在某些 Android 手机上得不到支持,然后导致程序崩溃。
-
本来像提交了一个PR, 但是没有权限。我就把我发现的问题和修改说一下吧。
1)我发现我的图片显示尺寸有问题,调试一下,发现图片宽度在item.attr.width里,另外,我还有些图片的样式是直接在style里定义的长宽。所以把wxParse.wxml里的wxParseImg的style改成下面的样子。
`style="{{item.styleStr}};width:{{item.attr…
-
原始html文件img数据是这样的:<img src="https://latex.codecogs.com/gif.latex?y=\sum_{i=0}^{10}x_i">
WxParse处理以后,调试看到数据是这样的:
![image](https://user-images.githubusercontent.com/26922360/57276377…
-
## 问题类型
* [ ] 如何实现某功能
* [ ] 报 BUG
* [ ] 某功能改进建议
* [ ] 新功能建议
* [ ] 文档问题
* [ ] 其他/以上都不是
## 问题详情
### 期望效果
### 实际情况
### 复现步骤 和 问题示例
### 问题环境
-
在wxParse.wxss中有一个全局的view 样式
```
view {
word-break:break-all; overflow:auto;
}
```
将这个在全局中去掉,然后如果需要,在你的富文本外面加一个
```
```
在用到富文本的页面样式中加上
```
.content view {
word-break:brea…
-
```
import { getRequest } from '@/utils/wxRequest.js'
var Api = require('@/utils/api.js')
export default {
data () {
return {
articleId: '',
articleData:…