修改项目列表搜索提示语句

This commit is contained in:
谢思 2022-11-16 15:12:35 +08:00
parent 79e1d6247a
commit bc7cb9be9f
3 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 || ''
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
}
window._debugType = debugType;
export function initAxiosInterceptors(props) {

View File

@ -382,7 +382,7 @@ class Index extends Component {
}
</Select>
<Search
placeholder="输入项目名称关键字进行搜索"
placeholder="输入关键字进行搜索"
enterButton="搜索"
size="large"
onSearch={this.searchFun}

View File

@ -84,7 +84,7 @@ function Index() {
<span>开源项目</span>
<Search
placeholder="输入项目名称关键字进行搜索"
placeholder="输入关键字进行搜索"
enterButton="搜索"
size="middle"
onSearch={searchFun}