perf: 优化搜索条件选项

This commit is contained in:
“怀磊”
2021-12-15 16:08:06 +08:00
committed by 老广
parent 44e899e271
commit 33368cb901
3 changed files with 10 additions and 1 deletions

View File

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

View File

@@ -56,7 +56,10 @@ export default {
hasExport: false,
hasImport: false,
hasBulkDelete: true,
createRoute: 'KubernetesAppCreate'
createRoute: 'KubernetesAppCreate',
searchConfig: {
exclude: ['category', 'type']
}
}
}
}

View File

@@ -66,6 +66,9 @@ export default {
hasExport: false,
hasImport: false,
// createRoute: 'RemoteAppCreate',
searchConfig: {
exclude: ['category', 'type']
},
moreCreates: {
dropdown: this.getCreateAppType(),
callback: (app) => {