mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
Merge pull request #1141 from nwind/fix-headcell
fix: Dark 模式下 header 的展现
This commit is contained in:
commit
8b3c3e936f
@ -227,7 +227,7 @@ export class HeadCellFilterDropDown extends React.Component<
|
|||||||
? filterOptions.map((option: any, index) => (
|
? filterOptions.map((option: any, index) => (
|
||||||
<li
|
<li
|
||||||
key={index}
|
key={index}
|
||||||
className={cx('DropDown-divider', {
|
className={cx({
|
||||||
'is-selected': option.selected
|
'is-selected': option.selected
|
||||||
})}
|
})}
|
||||||
onClick={this.handleClick.bind(this, option.value)}
|
onClick={this.handleClick.bind(this, option.value)}
|
||||||
@ -236,7 +236,7 @@ export class HeadCellFilterDropDown extends React.Component<
|
|||||||
</li>
|
</li>
|
||||||
))
|
))
|
||||||
: filterOptions.map((option: any, index) => (
|
: filterOptions.map((option: any, index) => (
|
||||||
<li key={index} className={cx('DropDown-divider')}>
|
<li key={index}>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
classPrefix={ns}
|
classPrefix={ns}
|
||||||
onChange={this.handleCheck.bind(this, option.value)}
|
onChange={this.handleCheck.bind(this, option.value)}
|
||||||
@ -248,7 +248,6 @@ export class HeadCellFilterDropDown extends React.Component<
|
|||||||
))}
|
))}
|
||||||
<li
|
<li
|
||||||
key="DropDown-menu-reset"
|
key="DropDown-menu-reset"
|
||||||
className={cx('DropDown-divider')}
|
|
||||||
onClick={this.handleReset.bind(this)}
|
onClick={this.handleReset.bind(this)}
|
||||||
>
|
>
|
||||||
{__('重置')}
|
{__('重置')}
|
||||||
|
Loading…
Reference in New Issue
Block a user