<div class="food-list" v-if="index === 0">
<van-tree-select v-model:main-active-index="activeIndex" height="88vw" :items="items"
@click-nav = 'navClick'>
<template #content>
<div v-for="(item, index) in subItem" class="item-bg">
<FoodListItem :item="item" />
</div>
</template>
</van-tree-select>
</div>
为什么这段代码里navClick点击的方法会显示Property "navClick" was accessed during render but is not defined on instance.我在setup定义了这个方法