我只是测试UICollectionView
的新重新排序功能,其中包含2个不同大小的UICollectionViewCell
。
当我将一个较小的UICollectionViewCell
拖过一个较大的select cname, sum(maxp) from(
(select * from
(select c.cname, p.uid, max(price) maxp from purchases p left join users u left join categories c on u.cid = c.cid on p.uid = u.uid group by p.uid) x
where x.cname='A' order by maxp desc limit 3)
union all
(select * from
(select c.cname, p.uid, max(price) maxp from purchases p left join users u left join categories c on u.cid = c.cid on p.uid = u.uid group by p.uid) x
where x.cname='B' order by maxp desc limit 3)
union all
(select * from
(select c.cname, p.uid, max(price) maxp from purchases p left join users u left join categories c on u.cid = c.cid on p.uid = u.uid group by p.uid) x
where x.cname='C' order by maxp desc limit 3)
) y
group by cname order by cname
来替换它时,较小的一个正在调整大小以适应较大的一个。
任何人都知道我如何禁用/解决这个问题?