bug
This commit is contained in:
		| @@ -109,12 +109,13 @@ export default { | ||||
|     ...mapActions(['selectPrivilegedContact']), | ||||
|     handleSelectUser() { | ||||
|       console.log(this.form.ticket) | ||||
|       console.log(this.form.persons) | ||||
|       if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器") | ||||
|       this.clickedUserSelect = true | ||||
|       this.selectPrivilegedContact({ | ||||
|         fromDepartmentId: 0, | ||||
|         selectedTickets: this.form.ticket ? [this.form.ticket] : [], | ||||
|         selectedOpenUserIds: this.form.persons?.map(e => e.id) | ||||
|         selectedOpenUserIds: this.form.persons ? this.form.persons.map(e => e.id) : [] | ||||
|       }).then(res => { | ||||
|         console.log('ticket-----') | ||||
|       console.log(res.selectedTicket) | ||||
| @@ -124,7 +125,9 @@ export default { | ||||
|         this.form.ticket = res.selectedTicket | ||||
|         this.selectedUserCount = res.selectedUserCount | ||||
|         this.clickedUserSelect = false | ||||
|       }).catch(() => { | ||||
|       }).catch(e => { | ||||
|         console.log('错误信息') | ||||
|         console.log(e) | ||||
|         this.clickedUserSelect = false | ||||
|       }) | ||||
|     }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user