This commit is contained in:
zhutianqi
2021-11-22 09:43:24 +08:00
parent 12df31af67
commit a71989e27c
+4 -1
View File
@@ -135,7 +135,10 @@
this.isVisible2 = false this.isVisible2 = false
}, },
saveUserInfo () { saveUserInfo () {
if (this.nodeList.length > 0) { if (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) {