fix -- 修复流程设计器选择人员后,不回显信息问题。

This commit is contained in:
konbai
2022-06-14 23:29:55 +08:00
parent 66041f7093
commit 5f7fe39c1e

View File

@@ -197,7 +197,7 @@ export default {
if (this.dataType === 'USERS') {
let userIdData = bpmnElementObj['assignee'] || bpmnElementObj['candidateUsers'];
let userText = bpmnElementObj['text'] || [];
if (userIdData && userIdData.length > 0 && userText && userText.length > 0) {
if (userIdData && userIdData.toString().length > 0 && userText && userText.length > 0) {
this.selectedUser.ids = userIdData?.toString().split(',');
this.selectedUser.text = userText?.split(',');
}