Просмотр исходного кода

fixing the build error

debrand
PC-20260115JRSN\Administrator 1 месяц назад
Родитель
Сommit
67a412ba7a
2 измененных файлов: 0 добавлений и 2 удалений
  1. +0
    -1
      src/app/(main)/report/AsyncItemCodeAutocomplete.tsx
  2. +0
    -1
      src/app/(main)/report/page.tsx

+ 0
- 1
src/app/(main)/report/AsyncItemCodeAutocomplete.tsx Просмотреть файл

@@ -192,7 +192,6 @@ const AsyncItemCodeAutocomplete: React.FC<Props> = ({
}, },
}} }}
onInputChange={(_, next, reason) => { onInputChange={(_, next, reason) => {
if (reason === "blur") return;
if (reason === "reset") { if (reason === "reset") {
setInputValue(""); setInputValue("");
onInputValueChange?.(""); onInputValueChange?.("");


+ 0
- 1
src/app/(main)/report/page.tsx Просмотреть файл

@@ -767,7 +767,6 @@ export default function ReportPage() {
pendingItemCodeInputRef.current[field.name] = ""; pendingItemCodeInputRef.current[field.name] = "";
return; return;
} }
if (reason === "blur") return;
pendingItemCodeInputRef.current[field.name] = input; pendingItemCodeInputRef.current[field.name] = input;
}} }}
onChange={(event, newValue, reason) => { onChange={(event, newValue, reason) => {


Загрузка…
Отмена
Сохранить