mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
-- bug 项目经理
This commit is contained in:
@@ -123,10 +123,15 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function change(e, {label, value}) {
|
function change(e, l) {
|
||||||
console.log('change')
|
console.log('change')
|
||||||
ctx.emit('update:value', typeof value === 'object' ? e.join(',') : value)
|
if (Array.isArray(l)) {
|
||||||
ctx.emit('update:name', typeof label === 'object' ? label.join(',') : label)
|
ctx.emit('update:value', l.map(t => t.value).join(','))
|
||||||
|
ctx.emit('update:name', l.map(t => t.label).join(','))
|
||||||
|
} else {
|
||||||
|
ctx.emit('update:value', l.value)
|
||||||
|
ctx.emit('update:name', l.label)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user