diff --git a/src/components/hzwlComponents/phoneComponents/phoneRoleTree.vue b/src/components/hzwlComponents/phoneComponents/phoneRoleTree.vue index dd773ba33..79f923258 100644 --- a/src/components/hzwlComponents/phoneComponents/phoneRoleTree.vue +++ b/src/components/hzwlComponents/phoneComponents/phoneRoleTree.vue @@ -314,7 +314,8 @@ export default { }, saveUserInfo() { if (this.roleList.length === 0) { - this.roleList.push({id: "", name: ""}); + // this.roleList.push({id: "", name: ""}); + return this.$message.warning('请选择人员') } if (this.checkBox) { this.$emit('checkedRole', this.roleList)