fix: 更新网域选择资产组件添加disabled状态

This commit is contained in:
“huailei000”
2022-12-05 17:23:12 +08:00
committed by huailei
parent 7312a899e1
commit 7f0924fb52
2 changed files with 5 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ export const getFields = () => {
],
el: {
canSelect: (row) => {
return row.automation_enabled_info.change_secret_enabled
return row.enabled_info.change_secret_enabled
}
},
label: i18n.t('xpack.Asset')

View File

@@ -23,7 +23,10 @@ export default {
component: AssetSelect,
label: this.$t('assets.Assets'),
el: {
value: []
value: [],
canSelect: (row) => {
return row.enabled_info.domain_enabled
}
}
}
},