修改placeholder

This commit is contained in:
whyour 2022-01-30 17:39:27 +08:00
parent 7e4fe2f1b3
commit 012ee2419d
2 changed files with 6 additions and 2 deletions

View File

@ -128,7 +128,7 @@ const Log = ({ headerStyle, isPhone, theme }: any) => {
value={select}
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
treeData={data}
placeholder="请选择日志文件"
placeholder="请选择日志"
showSearch
onSelect={onSelect}
/>,
@ -147,6 +147,8 @@ const Log = ({ headerStyle, isPhone, theme }: any) => {
<Input.Search
className={styles['left-tree-search']}
onChange={onSearch}
placeholder="请输入日志名"
allowClear
></Input.Search>
<div className={styles['left-tree-scroller']} ref={treeDom}>
<Tree

View File

@ -413,7 +413,7 @@ const Script = ({ headerStyle, isPhone, theme, socketMessage }: any) => {
value={select}
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
treeData={data}
placeholder="请选择脚本文件"
placeholder="请选择脚本"
showSearch
onSelect={onSelect}
/>,
@ -477,6 +477,8 @@ const Script = ({ headerStyle, isPhone, theme, socketMessage }: any) => {
<Input.Search
className={styles['left-tree-search']}
onChange={onSearch}
placeholder="请输入脚本名"
allowClear
></Input.Search>
<div className={styles['left-tree-scroller']} ref={treeDom}>
<Tree