0👍
You should handle the @update:open
event which emits the array of open items. If you want only one item to be expanded – then you should remove all items from this array except the last and assign this array to the open
prop of v-treeview
.
Source:stackexchange.com