Skip to content

【问题反馈】indexList索引组件在飞书小程序环境莫名报错? #157

@bruce-zhang932

Description

@bruce-zhang932

🐛 问题反馈 | Bug Report / Question

1. 问题描述

indexList索引组件在微信小程序环境没有问题,npm run dev:mp-lark飞书小程序之后直接报错

2. 复现步骤

npm run dev:mp-lark飞书小程序之后直接报错

3. 复现环境

  • uView Pro 版本:
  • uni-app 版本:0.5.16
  • 运行平台:飞书小程序
  • 浏览器或系统版本:win11 飞书开发者工具

4. 截图或日志(可选)

Image

5. 其他补充信息(可选)

  <u-index-list v-if="indexList?.length && !loading" :index-list="indexList.map(item => item.index)" :scrollTop="scrollTop" :sticky="false">
    <view v-for="item in indexList" :key="item.index">
      <u-index-anchor :index="item.index" />
      <view class="list-cell-box">
        <view @click="handleCheck(it)" :class="['list-cell', curUser.userId === it.userId ? 'active' : '']" v-for="it in item.children" :key="it.userId">
          <view class="list-cell-name">{{ it.nickname }}({{ it.roleName }})</view>
          <view class="list-cell-phone">{{ it.mobile }}</view>
          <u-icon v-if="curUser.userId === it.userId" class="list-cell-icon" name="checkmark" size="28" color="#1677FF" />
        </view>
      </view>
    </view>
  </u-index-list>

感谢您的反馈!我们会尽快跟进和处理。如有更多细节,欢迎补充。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions