-- 组织添加路径

This commit is contained in:
yuping
2022-12-26 19:15:57 +08:00
parent d674c660e8
commit 8b7c4aabaf
9 changed files with 116 additions and 107 deletions

View File

@@ -43,9 +43,9 @@ const id = computed(() => {
return props.value
})
function change(key, obj) {
console.log(obj[0], key, props.value);
function change(key, obj, {triggerNode: {props: {namePath}}}) {
emit('update:name', obj[0])
emit('update:fullName', namePath)
emit('update:value', key)
}