Open Tofu-Xx opened 1 month ago
<template> <!-- do something.... --> <ul v-for="{ key, children } of data" :key> <li>{{ key }}</li> <TreeComponent v-if="children" :data="children"></TreeComponent> </ul> </template>