Forráskód Böngészése

编辑病历字数限制

morphone1995 4 éve
szülő
commit
48c8551035

+ 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>