fix: 修复账号管理-资产账号导出需要进行MFA认证搜索项

This commit is contained in:
Bai
2021-06-10 17:10:31 +08:00
parent d31492f43b
commit 6d7fec5bf9
2 changed files with 8 additions and 1 deletions

View File

@@ -82,6 +82,10 @@ export default {
type: String,
required: true
},
searchExclude: {
type: Array,
default: () => []
},
extraQuery: {
type: Object,
default: () => ({})
@@ -258,6 +262,7 @@ export default {
hasExport: this.hasExport,
hasSearch: true,
searchConfig: {
exclude: this.searchExclude,
options: [
{
label: this.$t('assets.OnlyLatestVersion'),

View File

@@ -27,6 +27,7 @@
ref="RightTable"
class="asset-user-table"
:url="rightTable.url"
:search-exclude="rightTable.searchExclude"
:extra-query="rightTable.extraQuery"
:has-left-actions="rightTable.hasLeftActions"
:table-config="rightTable.tableConfig"
@@ -149,7 +150,8 @@ export default {
}
}
},
hasLeftActions: false
hasLeftActions: false,
searchExclude: ['hostname', 'id', 'ip']
}
}
}