Closed anan1213095357 closed 6 months ago
@anan1213095357 你可以拆开,只是需要把泛型写全:
<MCascader Value="_value"
ValueChanged="ValueChanged"
TValue="string"
TItem="CascaderNode"
TItemValue="string"
...>
</MCascader>
不是的,值为什么类型我才可以一级和二级都正常显示呢?我设置value 福建/厦门 这样只会显示一个福建,
@anan1213095357 value的值只要是厦门的key就行了
那我如果有一个福建A一个福建B,怎么办?
@anan1213095357 你只要保证key唯一就行。
现在的问题就是key并不是唯一的,我有两个福建两个厦门。
This issue is stale because it has been open for 4 days with no activity.
This issue is closed because it has been open for 3 days with stale.
Masa.Blazor version
最新的
Describe the bug
@bind-Value="_value" 我是只能使用 这种方式吗? 我可以分开写吗 Value=“” ValueChanged=“”
Expected Behavior
No response
Steps To Reproduce
No response
Reproduction code
No response
.NET version
No response
What browsers are you seeing the problem on?
No response
Additional context
No response