mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:48:13 +08:00
parent
da8dfbee2d
commit
30348b2ee7
@ -345,7 +345,13 @@ export default class SelectMobile extends React.Component<Props, SelectState> {
|
|||||||
>
|
>
|
||||||
{renderMenu ? (
|
{renderMenu ? (
|
||||||
multiple ? (
|
multiple ? (
|
||||||
renderMenu(item, {
|
<>
|
||||||
|
<div
|
||||||
|
title={item[labelField]}
|
||||||
|
className={cx('Select-option-item-check')}
|
||||||
|
onClick={() => !item.disabled && this.handleChange([item])}
|
||||||
|
>
|
||||||
|
{renderMenu(item, {
|
||||||
multiple,
|
multiple,
|
||||||
checkAll,
|
checkAll,
|
||||||
checked,
|
checked,
|
||||||
@ -353,7 +359,12 @@ export default class SelectMobile extends React.Component<Props, SelectState> {
|
|||||||
inputValue: inputValue || '',
|
inputValue: inputValue || '',
|
||||||
searchable,
|
searchable,
|
||||||
index
|
index
|
||||||
})
|
})}
|
||||||
|
</div>
|
||||||
|
{checked ? (
|
||||||
|
<Icon icon="check" className={cx('Select-option-mcheck')} />
|
||||||
|
) : null}
|
||||||
|
</>
|
||||||
) : (
|
) : (
|
||||||
renderMenu(item, {
|
renderMenu(item, {
|
||||||
multiple,
|
multiple,
|
||||||
|
Loading…
Reference in New Issue
Block a user