Quellcode durchsuchen

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

sw vor 5 Tagen
Ursprung
Commit
dd9de0c240
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  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}`
           );
         }
       );