Explorar o código

代理 查阅显示代理角色

linweizeng %!s(int64=2) %!d(string=hai) anos
pai
achega
5b8eee4f84
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      src/views/platform/bpmn/bpmAgent/edit.vue

+ 3 - 2
src/views/platform/bpmn/bpmAgent/edit.vue

@@ -595,9 +595,10 @@ export default {
             }
         },
         getWeiTuoName (data, list) {
-            const nameList = list.map((item) => {
+            const nameList = []
+            list.forEach((item) => {
                 if (data.includes(item.id)) {
-                    return item.name
+                    nameList.push(item.name)
                 }
             })
             return nameList.join(',')