fix: 转办时未选择人员给提示语

This commit is contained in:
zyn
2023-11-30 18:37:30 +08:00
parent 0cfce63b66
commit 40ca0d84c8
@@ -314,7 +314,8 @@ export default {
}, },
saveUserInfo() { saveUserInfo() {
if (this.roleList.length === 0) { if (this.roleList.length === 0) {
this.roleList.push({id: "", name: ""}); // this.roleList.push({id: "", name: ""});
return this.$message.warning('请选择人员')
} }
if (this.checkBox) { if (this.checkBox) {
this.$emit('checkedRole', this.roleList) this.$emit('checkedRole', this.roleList)