标准/译文申请 人员选择BUG

This commit is contained in:
baoyu
2024-03-29 13:46:11 +08:00
parent 14127feb4f
commit 49c9c8e4e0
@@ -273,7 +273,6 @@ export default {
checkedRole (data) {
let idList = ''
let nameList = ''
console.log(data)
data.forEach(item => {
if (nameList.length > 0) {
nameList += ','
@@ -291,10 +290,7 @@ export default {
const nameId = id.split(',')
let idList = []
nameId.forEach(item => {
let a, b
a = item.substring(item.indexOf('(') + 1)
b = a.substring(0, a.lastIndexOf(')'))
idList.push(b)
idList.push(item)
})
idList = idList.join(',')
this.nodeList.push(idList)