Преглед изворни кода

提示词控件样式修改

S0025136190 пре 11 месеци
родитељ
комит
c2143fb825
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      src/pages/questionAnswer/info/index.tsx

+ 1 - 2
src/pages/questionAnswer/info/index.tsx

@@ -436,9 +436,8 @@ const QuestionAnswerInfo: React.FC = () => {
                                     <div >
                                         <FormItem name='prompt' >
                                             <TextArea
-                                                autoSize
                                                 placeholder="提示词"
-                                                style={{ height: '100%' }}
+                                                rows={20}
                                             />
                                         </FormItem>
                                     </div>