This commit is contained in:
zhutianqi
2021-11-22 09:58:18 +08:00
parent a71989e27c
commit 057bd0aafc
+1 -4
View File
@@ -135,10 +135,7 @@
this.isVisible2 = false this.isVisible2 = false
}, },
saveUserInfo () { saveUserInfo () {
if (this.nodeList[0].length === 0) { if (this.nodeList.length > 0 && this.nodeList[0].length !== 0) {
this.isVisible2 = false
this.$emit('checkedRole', this.roleList)
} else if (this.nodeList.length > 0) {
let ids = '' let ids = ''
this.nodeList.forEach(item => { this.nodeList.forEach(item => {
if (ids.length > 0) { if (ids.length > 0) {