From 40ca0d84c89d1966aeadc1d84b596ccc587481f7 Mon Sep 17 00:00:00 2001 From: zyn Date: Thu, 30 Nov 2023 18:37:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BD=AC=E5=8A=9E=E6=97=B6=E6=9C=AA?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E4=BA=BA=E5=91=98=E7=BB=99=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzwlComponents/phoneComponents/phoneRoleTree.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)