mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 16:56:46 +08:00
-- bug
This commit is contained in:
@@ -92,6 +92,8 @@ function getMemberData() {
|
|||||||
isOpen.value = false
|
isOpen.value = false
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
console.log(1111111111111)
|
||||||
|
console.log(props.value)
|
||||||
const list = res.data.data.rows.filter(e => !(props.value + '').includes(e.id)).map(e => ({
|
const list = res.data.data.rows.filter(e => !(props.value + '').includes(e.id)).map(e => ({
|
||||||
label: e.realName + e.userNo,
|
label: e.realName + e.userNo,
|
||||||
value: e.id,
|
value: e.id,
|
||||||
@@ -131,7 +133,7 @@ function change(e, l) {
|
|||||||
Array.isArray(selectOptions.value) && emit('onChange', e, l, selectOptions.value.find(e => e.deptId)?.deptId, selectOptions.value.find(e => e.deptId)?.departName)
|
Array.isArray(selectOptions.value) && emit('onChange', e, l, selectOptions.value.find(e => e.deptId)?.deptId, selectOptions.value.find(e => e.deptId)?.departName)
|
||||||
if (Array.isArray(l)) {
|
if (Array.isArray(l)) {
|
||||||
emit('update:name', l.map(t => t.label).join(','))
|
emit('update:name', l.map(t => t.label).join(','))
|
||||||
emit('update:value', l.map(t => t.label).join(','))
|
emit('update:value', l.map(t => t.value).join(','))
|
||||||
} else {
|
} else {
|
||||||
emit('update:name', l?.label)
|
emit('update:name', l?.label)
|
||||||
emit('update:value', l?.value)
|
emit('update:value', l?.value)
|
||||||
|
|||||||
Reference in New Issue
Block a user