NEZ-2047 fix: bug5修改
This commit is contained in:
@@ -77,7 +77,7 @@ export default {
|
||||
batchHandler (state) {
|
||||
for (let index = 0; index < this.custom.length; index++) {
|
||||
if (this.custom[index].type != 'title') {
|
||||
if ((index == 0 || index == 1 || this.custom[index].NotSet)) {
|
||||
if ((index == 0 || index == 1 || this.custom[index].NotSet || this.custom[index].visibility=='disabled')) {
|
||||
this.custom[index].show = true
|
||||
} else {
|
||||
this.custom[index].show = state
|
||||
|
||||
@@ -114,6 +114,7 @@ export default {
|
||||
}, {
|
||||
label: 'URL',
|
||||
prop: 'url',
|
||||
visibility: 'disabled',
|
||||
show: true
|
||||
}
|
||||
],
|
||||
|
||||
@@ -123,10 +123,12 @@ export default {
|
||||
}, {
|
||||
label: this.$t('webshell.filePath'),
|
||||
prop: 'filePath',
|
||||
visibility: 'disabled',
|
||||
show: true
|
||||
}, {
|
||||
label: this.$t('config.system.notification.account'),
|
||||
prop: 'account',
|
||||
visibility: 'disabled',
|
||||
show: true
|
||||
}, {
|
||||
label: this.$t('overall.state'),
|
||||
|
||||
Reference in New Issue
Block a user