编辑标记-长度

This commit is contained in:
caishi 2021-11-30 13:57:05 +08:00
parent 0991ba4698
commit 4ffb2acc9c
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ if (isDev) {
}
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'student'
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
}
window._debugType = debugType;
export function initAxiosInterceptors(props) {

View File

@ -507,8 +507,8 @@ class NewTags extends Component {
>
<div className="dialogdiv">
<Input
placeholder="名称,10字以内"
maxLength="10"
placeholder="名称,15字以内"
maxLength={15}
className="inptwidth"
value={this.state.name}
onChange={this.changmodelname}