diff --git a/src/Masa.Blazor/Components/Slider/MSliderBase.razor b/src/Masa.Blazor/Components/Slider/MSliderBase.razor index dc5d1d7a96..486e94dfe1 100644 --- a/src/Masa.Blazor/Components/Slider/MSliderBase.razor +++ b/src/Masa.Blazor/Components/Slider/MSliderBase.razor @@ -224,7 +224,7 @@ return new StyleBuilder() .AddHeight(ThumbSize) .AddWidth(ThumbSize) - .Add(transform, $"{transform}") + .Add("transform", transform) .AddBackgroundColor(ComputedThumbColor) .Build(); }