Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0a9fc4e0
authored
Apr 26, 2025
by
Netfan
Committed by
GitHub
Apr 26, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: title of search button in vxeTable toolbar (#6046)
* 修改vxeTable工具栏里的搜索按钮的提示文案
1 parent
be840460
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
packages/effects/plugins/src/vxe-table/use-vxe-grid.vue
packages/locales/src/langs/en-US/common.json
packages/locales/src/langs/zh-CN/common.json
packages/effects/plugins/src/vxe-table/use-vxe-grid.vue
View file @
0a9fc4e
...
@@ -148,7 +148,9 @@ const toolbarOptions = computed(() => {
...
@@ -148,7 +148,9 @@ const toolbarOptions = computed(() => {
icon
:
'vxe-icon-search'
,
icon
:
'vxe-icon-search'
,
circle
:
true
,
circle
:
true
,
status
:
showSearchForm
.
value
?
'primary'
:
undefined
,
status
:
showSearchForm
.
value
?
'primary'
:
undefined
,
title
:
$t
(
'common.search'
),
title
:
showSearchForm
.
value
?
$t
(
'common.hideSearchPanel'
)
:
$t
(
'common.showSearchPanel'
),
};
};
// 将搜索按钮合并到用户配置的toolbarConfig.tools中
// 将搜索按钮合并到用户配置的toolbarConfig.tools中
const
toolbarConfig
:
VxeGridPropTypes
.
ToolbarConfig
=
{
const
toolbarConfig
:
VxeGridPropTypes
.
ToolbarConfig
=
{
...
...
packages/locales/src/langs/en-US/common.json
View file @
0a9fc4e
...
@@ -18,5 +18,7 @@
...
@@ -18,5 +18,7 @@
"delete"
:
"Delete"
,
"delete"
:
"Delete"
,
"create"
:
"Create"
,
"create"
:
"Create"
,
"yes"
:
"Yes"
,
"yes"
:
"Yes"
,
"no"
:
"No"
"no"
:
"No"
,
"showSearchPanel"
:
"Show search panel"
,
"hideSearchPanel"
:
"Hide search panel"
}
}
packages/locales/src/langs/zh-CN/common.json
View file @
0a9fc4e
...
@@ -18,5 +18,7 @@
...
@@ -18,5 +18,7 @@
"delete"
:
"删除"
,
"delete"
:
"删除"
,
"create"
:
"新增"
,
"create"
:
"新增"
,
"yes"
:
"是"
,
"yes"
:
"是"
,
"no"
:
"否"
"no"
:
"否"
,
"showSearchPanel"
:
"显示搜索面板"
,
"hideSearchPanel"
:
"隐藏搜索面板"
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment