lex 1 год назад
Родитель
Сommit
548b3ce569
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/train-statistics/train-model.tsx

+ 1 - 1
src/views/train-statistics/train-model.tsx

@@ -380,7 +380,7 @@ export default defineComponent({
         state.classId = props.selectValues.classGroupId;
         state.classId = props.selectValues.classGroupId;
         state.popupClassId = [state.classId];
         state.popupClassId = [state.classId];
         state.classList.forEach((item: any) => {
         state.classList.forEach((item: any) => {
-          if (item.value === state.className) {
+          if (item.value === state.classId) {
             state.className = item.text;
             state.className = item.text;
           }
           }
         });
         });