ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.61k stars 2.39k forks source link

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

Closed SummerSuper closed 9 months ago

SummerSuper commented 9 months ago

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

github-actions[bot] commented 9 months ago

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 创建一个实例。