mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
fix(ApiTree): Modify Trigger Selection Event Name
This commit is contained in:
parent
95ca2c3ae6
commit
094a33c0c2
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<a-tree v-bind="getAttrs" @change="handleChange">
|
||||
<a-tree v-bind="getAttrs" @select="handleChange">
|
||||
<template #[item]="data" v-for="item in Object.keys($slots)">
|
||||
<slot :name="item" v-bind="data || {}"></slot>
|
||||
</template>
|
||||
@ -36,7 +36,6 @@
|
||||
...attrs,
|
||||
};
|
||||
});
|
||||
|
||||
function handleChange(...args) {
|
||||
emit('change', ...args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user