mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
[improvement] optimize listeners
This commit is contained in:
@@ -28,7 +28,7 @@ function Loading(
|
||||
|
||||
const style: { [key: string]: string } = { color };
|
||||
if (size) {
|
||||
const iconSize = suffixPx(size);
|
||||
const iconSize = suffixPx(size) as string;
|
||||
style.width = iconSize;
|
||||
style.height = iconSize;
|
||||
}
|
||||
|
Reference in New Issue
Block a user