[update]修改搜索组件

This commit is contained in:
OrangeM21
2020-04-23 16:24:57 +08:00
parent 1159201b30
commit ffa49b6acf

View File

@@ -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() {