feat:添加按钮点击效果
This commit is contained in:
@@ -19,7 +19,6 @@ function calculateCircleCenters(
|
||||
const requiredSpace = 2 * radius * circleCount;
|
||||
const spaceBetween =
|
||||
(availableWidth - requiredSpace) / (circleCount - 1);
|
||||
console.log('spaceBetween---:', spaceBetween);
|
||||
|
||||
if (spaceBetween > maxSpacing) {
|
||||
// 超过最大间距时,固定间距并居中对齐
|
||||
|
||||
Reference in New Issue
Block a user