perf: 网络设备、云服务、web不支持批量更新网域

This commit is contained in:
“huailei000”
2023-02-21 10:33:14 +08:00
committed by huailei
parent c05437f58c
commit 93431df62b

View File

@@ -34,6 +34,7 @@ export default {
},
data() {
const meta = assetFieldsMeta(this)
const exclude = ['device', 'cloud', 'web']
return {
tips: this.$t('assets.AssetBulkUpdateTips'),
formSetting: {
@@ -49,7 +50,7 @@ export default {
domain: {
...meta.domain,
label: this.$t('assets.Domain'),
disabled: this.category === 'cloud'
disabled: exclude.includes(this.category)
},
labels: {
...meta.labels,