Przeglądaj źródła

根据体型请求arp时,使用首字母大写

sw 1 tydzień temu
rodzic
commit
d463a2b688
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/pages/exam/ContentAreaLarge.tsx

+ 1 - 1
src/pages/exam/ContentAreaLarge.tsx

@@ -61,7 +61,7 @@ const ContentAreaLarge = () => {
     console.log('体型 key:', key); // 例如: 'small'
     console.log('体型 value:', value); // 例如: 'Small'
 
-    dispatch(setBodysize(key));
+    dispatch(setBodysize(value));
   };
 
   const handleWorkstationChange = (value: string) => {