-
-
在项目weapp-ssha-master\\utils\\wxParse\\html2json.js页面的 第87行和第94行使用了 console.dir这个API。
console.dir不是微信小程序官方文档支持的API,解析依赖与机主的js引擎,发生过无法解析导致项目crash的情况。
您好,方便确认一下问题吗,可以修改为console.log替代。
-
**问题描述**
在 uniapp 中,使用函数式组件,会报错:Error in render: "TypeError: Cannot read property '_c' of undefined"。
**复现步骤**
声明一个简单的函数式组件, 如下
````
sss
````
**预期结果**
组件正确被渲染出来。
**实际结果**
![image](…
-
### 相关平台
微信小程序
**小程序基础库: 2.1.5.0**
**使用框架: React**
### 复现步骤
taro 3.2.0引入自定义组件后重新编译下自定义节点就无效了。直接拷贝的taro-sample-weapp的index页面,拷贝过来后自动编译后是有正确的节点。npm run dev:weapp 重新编译后节点内容消失。
此处是自动编译后的…
-
预览图片函数 wxParseImgTap 获取新增的 properties 一直为内置默认值,不响应父组件传值
-
### 相关平台
京东小程序
**小程序基础库: 2.10.4**
**使用框架: React**
### 复现步骤
1、组件引入
config = {
usingComponents: {
parser: '@/utils/Parser/index' // 引入插件包
}
}
2、render () {
retu…
-
### 相关平台
微信小程序
**小程序基础库: 2.12.2**
**使用框架: React**
### 复现步骤
npm run dev:weapp
npm run mock
```
修改src/request/index.ts
第17行serverTestUrl为mockUrl,
第14行mockUrl参数为npm run mock 运行后的链接
`…
-
bug: 若从word/wps文档复制张贴的文本,wxParse解析节点文本有乱码导致不能正常显示
微信小程序目前只有一个wxParse插件解析富文本比较主流好用,由于wangEditor从word/wps粘贴过来的富文本内容行内标签多了一些mso-开头的属性,导致解析出来的节点文本不符合html标签格式,不能正常显示。故每次做小程序相关的后台时只能选择其他编辑器,但是喜欢wangEdito…
zcSkr updated
4 years ago
-
-
[提示]: (提问前请前往 https://jin-yufeng.github.io/Parser/#/question?id=常见问题 查看是否已有解决方案,如果没有请按照下述模板详细描述问题)
**使用平台**
uni-app
[提示]: (微信/qq/百度/支付宝/头条/uni-app)
**问题描述**
参考你的文档,引入prismjs,
如果p…