- 博客(10)
- 资源 (21)
- 收藏
- 关注
原创 Taro3.6版本使用mp-html富文本插件
在node_modules里面找到mp-html,把mp-weixin文件夹拷贝到自己项目的components里面并重命名为mp-html。由于之前的项目taro版本都比较低,3.2版本的,直接引入mp-html都没有太大问题,后面升级到3.6版本就直接报错了。执行完npm run build:weixin后把dist/mp-weixin替换之前的mp-html(重复开始的步骤)这里确实坑,明明content传了值却死活不承认,最后发现是定义content的属性有问题。然后运行项目,检查是否有该目录。
2023-12-28 15:37:04
878
1
原创 Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previ
记录一次使用pdf.js插件触发的canvas渲染类bug
2023-02-20 17:34:34
734
原创 npm WARN config 报错记录
npm WARN config `_auth`, `_authToken`, `username` and `_password` must be scoped to a registry.
2023-02-20 13:54:00
2442
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人