Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Area 组件报错“Error: setColumnIndex: 对应列不存在” #715

Open
2 of 7 tasks
TechQuery opened this issue Oct 29, 2024 · 2 comments
Open
2 of 7 tasks

Area 组件报错“Error: setColumnIndex: 对应列不存在” #715

TechQuery opened this issue Oct 29, 2024 · 2 comments

Comments

@TechQuery
Copy link

TechQuery commented Oct 29, 2024

这个 Issue 涉及以下平台

  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 头条小程序
  • 快手小程序
  • QQ 轻应用
  • Web 平台(H5)

BUG 描述

@zuolung 升级 Taro 4.0 后,地址选择器报错崩溃,让小程序白屏。

复现步骤

  1. 打开脚手架预览页面:https://taro-vant-mobx-oxbisjliu-techquerys-projects.vercel.app/#/pages/component
  2. 点击“请选择地区”
  3. 浏览器控制台即显示上述报错

期望结果

在 Taro 4.x 中使用 <Area /> 组件无报错。

实际结果

Error: setColumnIndex: 对应列不存在
    at ._node_modules_.pnpm_@[email protected]_node_modules_@antmjs_vantui_es_picker_index.js:251
    at ._node_modules_.pnpm_@[email protected]_node_modules_@antmjs_vantui_es_picker_index.js:263
    at Array.map (<anonymous>)
    at Object.setIndexes (._node_modules_.pnpm_@[email protected]_node_modules_@antmjs_vantui_es_picker_index.js:263)
    at t.<anonymous> (._node_modules_.pnpm_@[email protected]_node_modules_@antmjs_vantui_es_area_index.js:195)
    at f (WASubContext.js?t=wechat&s=1730203008373&v=3.6.3:1)
    at WASubContext.js?t=wechat&s=1730203008373&v=3.6.3:1
    at t.<anonymous> (WASubContext.js?t=wechat&s=1730203008373&v=3.6.3:1)
    at Function.<anonymous> (WASubContext.js?t=wechat&s=1730203008373&v=3.6.3:1)
    at p (WAServiceMainContext.js?t=wechat&s=1730203008373&v=3.6.3:1)(env: Windows,mp,1.06.2409140; lib: 3.6.3)

截图

image

环境

👽 Taro v4.0.7


  Taro CLI 4.0.7 environment info:
    System:
      OS: Windows 11 10.0.22631
    Binaries:
      Node: 20.15.1 - C:\Program Files\nodejs\node.EXE
      npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: 4.0.7 => 4.0.7
      @tarojs/components: 4.0.7 => 4.0.7
      @tarojs/helper: 4.0.7 => 4.0.7
      @tarojs/plugin-framework-react: 4.0.7 => 4.0.7
      @tarojs/plugin-html: 4.0.7 => 4.0.7
      @tarojs/plugin-http: 4.0.7 => 4.0.7
      @tarojs/plugin-platform-alipay: 4.0.7 => 4.0.7
      @tarojs/plugin-platform-h5: 4.0.7 => 4.0.7
      @tarojs/plugin-platform-jd: 4.0.7 => 4.0.7
      @tarojs/plugin-platform-qq: 4.0.7 => 4.0.7
      @tarojs/plugin-platform-swan: 4.0.7 => 4.0.7
      @tarojs/plugin-platform-tt: 4.0.7 => 4.0.7
      @tarojs/plugin-platform-weapp: 4.0.7 => 4.0.7
      @tarojs/react: 4.0.7 => 4.0.7
      @tarojs/runtime: 4.0.7 => 4.0.7
      @tarojs/shared: 4.0.7 => 4.0.7
      @tarojs/taro: 4.0.7 => 4.0.7
      @tarojs/webpack5-runner: 4.0.7 => 4.0.7
      babel-preset-taro: 4.0.7 => 4.0.7

附加信息

@zuolung
Copy link
Contributor

zuolung commented Nov 7, 2024

暂时不支持v4+

@TechQuery
Copy link
Author

暂时不支持v4+

有大概的开发计划吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants