mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-17 15:52:32 +00:00
perf: 网络设备、云服务、web不支持批量更新网域
This commit is contained in:
@@ -34,6 +34,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const meta = assetFieldsMeta(this)
|
const meta = assetFieldsMeta(this)
|
||||||
|
const exclude = ['device', 'cloud', 'web']
|
||||||
return {
|
return {
|
||||||
tips: this.$t('assets.AssetBulkUpdateTips'),
|
tips: this.$t('assets.AssetBulkUpdateTips'),
|
||||||
formSetting: {
|
formSetting: {
|
||||||
@@ -49,7 +50,7 @@ export default {
|
|||||||
domain: {
|
domain: {
|
||||||
...meta.domain,
|
...meta.domain,
|
||||||
label: this.$t('assets.Domain'),
|
label: this.$t('assets.Domain'),
|
||||||
disabled: this.category === 'cloud'
|
disabled: exclude.includes(this.category)
|
||||||
},
|
},
|
||||||
labels: {
|
labels: {
|
||||||
...meta.labels,
|
...meta.labels,
|
||||||
|
Reference in New Issue
Block a user