mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-21 13:50:13 +00:00
perf: 优化搜索条件选项
This commit is contained in:
@@ -68,6 +68,9 @@ export default {
|
||||
hasImport: false,
|
||||
hasBulkDelete: true,
|
||||
createRoute: 'DatabaseAppCreate',
|
||||
searchConfig: {
|
||||
exclude: ['category', 'type']
|
||||
},
|
||||
moreCreates: {
|
||||
callback: (item) => {
|
||||
vm.$router.push({ name: 'DatabaseAppCreate', query: { type: item.name.toLowerCase() }})
|
||||
|
||||
@@ -56,7 +56,10 @@ export default {
|
||||
hasExport: false,
|
||||
hasImport: false,
|
||||
hasBulkDelete: true,
|
||||
createRoute: 'KubernetesAppCreate'
|
||||
createRoute: 'KubernetesAppCreate',
|
||||
searchConfig: {
|
||||
exclude: ['category', 'type']
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,6 +66,9 @@ export default {
|
||||
hasExport: false,
|
||||
hasImport: false,
|
||||
// createRoute: 'RemoteAppCreate',
|
||||
searchConfig: {
|
||||
exclude: ['category', 'type']
|
||||
},
|
||||
moreCreates: {
|
||||
dropdown: this.getCreateAppType(),
|
||||
callback: (app) => {
|
||||
|
||||
Reference in New Issue
Block a user