Skip to content

Commit

Permalink
feat(frontend): 全站搜索优化 #7951
Browse files Browse the repository at this point in the history
  • Loading branch information
3octaves authored and jinquantianxia committed Nov 20, 2024
1 parent 7c23e0c commit b16b74d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbm-ui/frontend/src/components/system-search/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
v-model="serach"
class="search-input"
clearable
:placeholder="t('全站搜索,支持多对象搜索,Enter搜索')"
:placeholder="t('全站搜索,支持多对象,Enter开启搜索')"
:type="isFocused ? 'text' : 'search'"
@enter="handleEnter"
@focus="handleFocus"
Expand Down
2 changes: 2 additions & 0 deletions dbm-ui/frontend/src/locales/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -3665,5 +3665,7 @@
"请选择Module": "请选择Module",
"安装 Module任务提交成功": "安装 Module任务提交成功",
"仅允许同一管控区域的集群一起安装module": "仅允许同一管控区域的集群一起安装module",
"全站搜索,支持多对象,Shift + Enter 换行,Enter键开启搜索": "全站搜索,支持多对象,Shift + Enter 换行,Enter键开启搜索",
"全站搜索,支持多对象,Enter开启搜索": "全站搜索,支持多对象,Enter开启搜索",
"这行勿动!新增翻译请在上一行添加!": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
autosize
class="search-input-textarea"
clearable
:placeholder="t('全站搜索,支持多对象搜索,Shift + Enter 换行,Enter搜索')"
:placeholder="t('全站搜索,支持多对象,Shift + Enter 换行,Enter键开启搜索')"
:resize="false"
type="textarea"
@blur="handleBlur"
Expand Down

0 comments on commit b16b74d

Please sign in to comment.