Commit dcb39be0 authored by chechunchi's avatar chechunchi

fix SelectCardModal panic

parent af60ae7d
...@@ -77,7 +77,9 @@ export const SelectCardsModal: React.FC<SelectCardsModalProps> = ({ ...@@ -77,7 +77,9 @@ export const SelectCardsModal: React.FC<SelectCardsModalProps> = ({
const minMaxText = min === max ? min : `${min}-${max}`; const minMaxText = min === max ? min : `${min}-${max}`;
const isMultiple = !single && max > 1; // const isMultiple = !single && max > 1;
// FIXME: 如果想上面这样鞋会panic,还不是很清楚原因,先放着后面再优化
const isMultiple = true;
// 判断是否可以提交 // 判断是否可以提交
useEffect(() => { useEffect(() => {
......
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