Merge branch 'dev-3.3' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.4

This commit is contained in:
zhangyu
2022-07-22 17:54:49 +08:00

View File

@@ -87,7 +87,7 @@ export default {
},
// 单选
handler (val, index) {
if (!this.allowedAll && !val.allowed && (index == 0 || index == 1 || val.NotSet)) {
if (!this.allowedAll && !val.allowed && (index == 0 || index == 1 || val.NotSet || val.visibility == 'disabled')) {
// this.custom[index].show = true;
} else {
this.custom[index].show = !this.custom[index].show