This commit is contained in:
afc163 2017-08-27 14:43:23 +08:00
parent ef8beaffde
commit 7e2d456453
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export default class DropdownButton extends React.Component<DropdownButtonProps,
const dropdownProps = {
align,
overlay,
disabled,
trigger: disabled ? [] : trigger,
onVisibleChange,
placement,
getPopupContainer,

View File

@ -185,7 +185,7 @@ exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
class="ant-tree-switcher ant-tree-switcher_open"
/>
<span
class="ant-tree-checkbox ant-tree-checkbox-indeterminate"
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"