4***@qq.com
4***@qq.com
  • 发布:2022-08-03 13:55
  • 更新:2022-08-03 14:09
  • 阅读:1133

[Vue warn]: Failed to resolve component: scroll-view

分类:uni-app

[Vue warn]: Failed to resolve component: scroll-view
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

2022-08-03 13:55 负责人:无 分享
已邀请:
DCloud_UNI_WZF

DCloud_UNI_WZF

发下可复现 demo

  • 4***@qq.com (作者)

    <view class="customer-list">

    <scroll-view

    class="scroll-height"

    :scroll-y="true"

    :scroll-top="scrollViewState.scrollTop"

    @scrolltolower="scrolltolower"

    @scroll="scroll"

    >

    <view class="custom-item" v-for="(item, idx) in dataList" :key="idx">

    <n-loading :loading="listLoading.includes(item.customerBaseId)">

    <view class="custom-item-default">

    <view class="custom-item-info">

    <view class="cutsom-item-info-tags"></view>

    </scroll-view>


    正常使用方法,我在App真机调试的时候报的,之前没有,今天才出现的这个问题


    2022-08-03 14:13

  • DCloud_UNI_WZF

    回复 4***@qq.com: HBuilderX 3.5.3 运行到真机未复现该问题,请检查代码或提供详细信息及可复现demo


    2022-08-03 14:43

  • 4***@qq.com (作者)

    回复 DCloud_UNI_WZF: 代码肯定没问题,不知道跟我今天nom update之后有没有关系


    2022-08-03 15:19

  • DCloud_UNI_WZF

    回复 4***@qq.com: 类似问题,可创建一个初始项目,使用该组件,运行是否有问题?

    如果没有问题,就是后续使用过程中出现的问题


    2022-08-03 15:57

要回复问题请先登录注册