汉中李
汉中李
  • 发布:2021-08-16 04:53
  • 更新:2021-08-16 04:53
  • 阅读:402

【报Bug】swiper子组件判断有问题

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 10

HBuilderX类型: 正式

HBuilderX版本号: 3.2.1

手机系统: Android

手机系统版本号: Android 7.1.1

手机厂商: 模拟器

手机机型: 雷电

页面类型: nvue

打包方式: 离线

项目创建方式: HBuilderX

示例代码:

父组件:

<template>  
    <swiper><sub> <!-- 引入子组件 --></sub></swiper>  
</template>

子组件

<template>  
    <swiper-item><text>123</text></swiper-item>  
</template>

操作步骤:

见代码示例

预期结果:

子组件swiper-item有效

实际结果:

子组件swiper-item无效

bug描述:

swiper的子组件swiper-item放在自定义组件中无效,很影响组件抽象

2021-08-16 04:53 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复