mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 22:36:23 +00:00
[update]修改搜索组件
This commit is contained in:
@@ -29,6 +29,7 @@ export default {
|
|||||||
TagSearch
|
TagSearch
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
...TagSearch.props,
|
||||||
hasExport: defaultTrue,
|
hasExport: defaultTrue,
|
||||||
hasImport: defaultTrue,
|
hasImport: defaultTrue,
|
||||||
hasRefresh: defaultTrue,
|
hasRefresh: defaultTrue,
|
||||||
@@ -42,21 +43,6 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
tagSearch: {
|
|
||||||
type: Array,
|
|
||||||
default() {
|
|
||||||
return [
|
|
||||||
{
|
|
||||||
label: '用户名',
|
|
||||||
key: 'username'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'ID',
|
|
||||||
key: 'id'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
createRoute: {
|
createRoute: {
|
||||||
type: String,
|
type: String,
|
||||||
default: function() {
|
default: function() {
|
||||||
|
Reference in New Issue
Block a user