2***@qq.com
2***@qq.com
  • 发布:2022-03-14 18:45
  • 更新:2022-06-05 12:58
  • 阅读:1152

[渲染层错误] [Component] <rich-text>: parse error TypeError: Cannot read property 'replace' of null

分类:uni-app

vue3.0 微信小程序
rich-text nodes : [{"name":"div","attrs":{"class":"_135editor","style":"white-space:normal;margin:10px auto"},"children":[{"name":"div","attrs":{"style":"display:inline-block"},"children":[{"name":"div","attrs":{"style":"display:flex;justify-content:center;align-items:flex-end"},"children":[{"name":"div","attrs":{"style":"padding-bottom:5px;margin-right:7px;box-sizing:border-box;max-width:100%"},"children":[{"name":"p","attrs":{"style":"font-size:12px;color:rgb(47, 128, 255);letter-spacing:0.5px;transform:scale(0.9)"},"children":[{"name":"strong","attrs":{"style":"color:rgb(33, 33, 34)"},"children":[{"name":"span","attrs":{"style":"font-size:20px"},"children":[{"type":"text","text":"机器其他部件损坏"}]}]},{"name":"br","attrs":{}}]},{"name":"div","attrs":{"style":"box-sizing:border-box;width:65.7708px;height:1px;background-color:rgb(47, 128, 255);margin-top:4px;overflow:hidden;transform:translate(20px, 0px)"},"children":[]}]},{"name":"div","attrs":{"style":";max-width:100%"},"children":[{"name":"div","attrs":{"class":"assistant","style":"box-sizing:border-box;width:35px"},"children":[]},{"name":"div","attrs":{"style":"box-sizing:border-box;width:35px;height:35px;background-color:rgb(47, 128, 255);border-radius:50%"},"children":[{"name":"div","attrs":{"style":"letter-spacing:1.5px;color:rgb(255, 255, 255);line-height:35px;text-align:center"},"children":[{"name":"br","attrs":{}}]}]}]}]}]}]}]

调试基础库:2.22.1

控制台报错:[渲染层错误] [Component] <rich-text>: parse error TypeError: Cannot read property 'replace' of null(env: Windows,mp,1.05.2111300; lib: 2.22.1)

2022-03-14 18:45 负责人:无 分享
已邀请:
DCloud_UNI_Anne

DCloud_UNI_Anne

rain晨

rain晨

你好,请问解决了吗,使用vue3 遇到了这个问题

要回复问题请先登录注册