官网例子
<div class="block"> <span class="demonstration">hover 触发子菜单</span> <el-cascader v-model="value" :options="options" :props="{ expandTrigger: ‘hover‘ }" 这样是不生效的 @change="handleChange"></el-cascader> </div>
应该写成下面这样
<div class="block"> <span class="demonstration">hover 触发子菜单</span> <el-cascader expand-trigger="hover" :options="options" v-model="selectedOptions2" @change="handleChange"> </el-cascader> </div
原文地址:https://www.cnblogs.com/robinunix/p/11215316.html
时间: 2024-09-29 09:42:59