Commit b12eaa4c authored by timel's avatar timel Committed by Chunchi Che

fix: card dropdown disable timing

parent 7e6f9eae
...@@ -120,4 +120,5 @@ section#mat { ...@@ -120,4 +120,5 @@ section#mat {
.ant-dropdown-menu { .ant-dropdown-menu {
background-color: #333; background-color: #333;
} }
text-align: center;
} }
...@@ -231,7 +231,7 @@ export const Card: FC<{ idx: number }> = React.memo(({ idx }) => { ...@@ -231,7 +231,7 @@ export const Card: FC<{ idx: number }> = React.memo(({ idx }) => {
overlayClassName="card-dropdown" overlayClassName="card-dropdown"
arrow arrow
trigger={["click"]} trigger={["click"]}
// TODO: 没有交互效果、或者不能点击的卡,不应该显示下拉菜单 disabled={!highlight}
> >
<div className={classnames("card-img-wrap", { focus: classFocus })}> <div className={classnames("card-img-wrap", { focus: classFocus })}>
<YgoCard <YgoCard
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment