Commit dcb39be0 authored by chechunchi's avatar chechunchi

fix SelectCardModal panic

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