HarmonyOS 鸿蒙Next ArkTS引入三方富文本库报错是怎么回事?

发布于 1周前 作者 yibo5220 来自 鸿蒙OS

HarmonyOS 鸿蒙Next ArkTS引入三方富文本库报错是怎么回事?
<markdown _ngcontent-tlo-c237="" class="markdownPreContainer">

ArkTS引入三方富文本库报错是怎么回事? 在sdk a中源码引入编译没有报错,sdk b引入sdk a时报错,怎么回事?

> > hvigor ERROR: Failed :xxx_common_module:default[@HarCompileArkTS](/user/HarCompileArkTS)...
> hvigor ERROR: ArkTS Compiler Error
ERROR: ArkTS:ERROR File: x_im_module/oh_modules/.ohpm/@x+base-xxx@0.0.1-rc.17/oh_modules/@x/base-xxx/src/main/ets/richtext/common/utils/css/index.ts:77:17
The inferred type of 'excludeExtendsParentArtUIStyle' cannot be named without a reference to '.ohpm/@x+base-xxx@0.0.1-rc.17/oh_modules/@x/base-xxx/src/main/ets/richtext/common/types/artUIEnum'. This is likely not portable. A type annotation is necessary.
<button style="position: absolute; padding: 4px 8px 0px; cursor: pointer; top: 4px; right: 8px; font-size: 14px;">复制</button>

</markdown>

关于HarmonyOS 鸿蒙Next ArkTS引入三方富文本库报错是怎么回事?的问题,您也可以访问:https://www.itying.com/category-93-b0.html 联系官网客服。

回到顶部