You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
用dropdownRender自定义树形结构,触发不了select的赋值以及其他props属性
<Select allowClear value={selectValue} onSelect={handleChange} style={{ width: 130 }} dropdownRender={() => (
<>
<Tree onSelect={(val, e) => {
setSelectValue(e.node.title as string)
setOpenSelect(false)
}} treeData={treeData} />
</>
)} /
test.txt
Beta Was this translation helpful? Give feedback.
All reactions