chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -109,7 +109,7 @@ export const InputSlider: React.FC<InputSliderProps> = ({
const onNumberChange = (numberValue: number) => {
updateInputNumber();
// 防止 -0
// Prevent -0
if (numberValue === 0) {
onChange?.(0);
return;
@@ -124,7 +124,7 @@ export const InputSlider: React.FC<InputSliderProps> = ({
onChange?.(expectedFormattedValue);
};
// 防止 -0 导致 InputNumber 无限循环更新
// Prevent -0 from causing InputNumber to update indefinitely
const fixedValue = Object.is(value, -0) ? 0 : value;
useEffect(() => {