mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 14:56:46 +08:00
-- 授课老师
This commit is contained in:
@@ -122,9 +122,9 @@ const searchMember = (keyWord) => {
|
||||
};
|
||||
|
||||
function change(e, l) {
|
||||
selectOptions.value = l
|
||||
isOpen.value = false
|
||||
emit('onChange', e, l, selectOptions.value.find(e => e.deptId)?.deptId)
|
||||
Array.isArray(l) && (selectOptions.value = l)
|
||||
Array.isArray(selectOptions.value) && emit('onChange', e, l, selectOptions.value.find(e => e.deptId)?.deptId)
|
||||
if (Array.isArray(l)) {
|
||||
emit('update:name', l.map(t => t.label).join(','))
|
||||
emit('update:value', l.map(t => t.value).join(','))
|
||||
|
||||
Reference in New Issue
Block a user