Taro-ParserRichText
Taro-ParserRichText copied to clipboard
渲染啥也没出来 [email protected]
这玩意还维护吗
Taro3 的组件是没有配置文件的,因此 usingComponents 必须配置在“页面”的配置文件中。
注掉parserRichText.tsx 中的 101-105
// public config: Taro.Config = { // usingComponents: { // parser: './Parser/index' // } // };
在 app.config.ts 中 添加
export default { usingComponents: { parser: 'components/common/ParserRichText/Parser/index' } }