Error in render: “TypeError: Cannot read properties of undefined (reading ‘replace‘)“
1.我这翻译的是呈现中出错:“TypeError:无法读取未定义的属性(读取'replace')”代码是这样的组件公共的方法exportfunctionremoveHTMLTag(htmlStr){lethtml=htmlStr.replace(//g,"[图片]").replaceAll(/]+>/g,"").replace(/ /gi,"");returnhtml;}就报这个错根据这