NEZ-2047 fix: bug5修改

This commit is contained in:
zhangyu
2022-07-20 15:15:34 +08:00
parent 8958538df3
commit 8cb7db089b
3 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -114,6 +114,7 @@ export default {
}, {
label: 'URL',
prop: 'url',
visibility: 'disabled',
show: true
}
],

View File

@@ -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'),