Pārlūkot izejas kodu

bug:自动选中失败后,提示信息不自动消失

sw 5 dienas atpakaļ
vecāks
revīzija
dd9de0c240
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      src/pages/exam/components/BodyPositionList.tsx

+ 1 - 2
src/pages/exam/components/BodyPositionList.tsx

@@ -77,8 +77,7 @@ const BodyPositionList: React.FC<BodyPositionListProps> = ({
       autoSelectFirstBodyPosition(bodyPositions, dispatch, currentKey).catch(
         (error) => {
           message.error(
-            'Failed to auto-select the first body position',
-            error
+            `Failed to auto-select the first body position ${error}`
           );
         }
       );