morphone1995 4 лет назад
Родитель
Сommit
48c8551035
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/HistoryCaseContainer/HistoryList/index.jsx

+ 1 - 1
src/components/HistoryCaseContainer/HistoryList/index.jsx

@@ -458,7 +458,7 @@ class HistoryCaseContainer extends React.Component {
                 >                  
                     <div className={styles.outBox}>
                       <span>病历名称:</span>
-                      <input type="text" className={styles.innerInput} placeholder="请输入病历名称" value={this.state.templateName} onChange={this.handleChange} autocomplete="off"/>
+                <input type="text" className={styles.innerInput} placeholder="请输入病历名称" maxlength={30} value={this.state.templateName} onChange={this.handleChange} autocomplete="off"/>
                     </div>
                 </ConfirmModal>
             </div>