ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.

Home Page:https://mobile.ant.design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

【CascaderView】onChange的时候 拿不到extend.items选中项

SummerSuper opened this issue · comments

Version of antd-mobile

5.33.0

Operating system and its version

Others

Browser and its version

pc chrome浏览器模拟h5

Sandbox to reproduce

No response

What happened?

CascaderView组件 使用 fieldNames={{label:'itemLabel', value:'itemCode', children:'attrList'}}
onChange的时候 拿不到extend.items选中项,value可以拿到

Relevant log output

No response

Hi, SummerSuper.

Please provide a online reproduction so that we can help you troubleshoot the problem. You can create a demo by codesandbox or stackblitz.

我们需要你提供一个在线的重现实例,以便于我们帮你排查问题。你可以通过 codesandboxstackblitz 创建一个实例。