Explorar el Código

编辑病历字数限制

morphone1995 hace 4 años
padre
commit
48c8551035
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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}>
                     <div className={styles.outBox}>
                       <span>病历名称:</span>
                       <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>
                     </div>
                 </ConfirmModal>
                 </ConfirmModal>
             </div>
             </div>