Vue.js 当我在v扩展面板中删除一个时,它会为我打开下一个。如何撤销它
扩展面板,当我从阵列中删除一个时,它会自动为我打开下一个。 我怎样才能解开它? 谢谢Vue.js 当我在v扩展面板中删除一个时,它会为我打开下一个。如何撤销它,vue.js,vuetify.js,Vue.js,Vuetify.js,扩展面板,当我从阵列中删除一个时,它会自动为我打开下一个。 我怎样才能解开它? 谢谢 不动产检查 删除 newvue({ el:“#应用程序”, vuetify:新的vuetify(), 数据:()=>({ 活动:空, 测试:[1,2,3,4,5] }), 方法:{ del(索引){ 本试验拼接(索引1) this.active=null } } }) 项目 删除{{t} <v-expansion-panel v-for="(Test, index)
不动产检查
删除
newvue({
el:“#应用程序”,
vuetify:新的vuetify(),
数据:()=>({
活动:空,
测试:[1,2,3,4,5]
}),
方法:{
del(索引){
本试验拼接(索引1)
this.active=null
}
}
})
项目
删除{{t}
<v-expansion-panel
v-for="(Test, index) in Test"
:key="index">
<v-expansion-panel-header>
<template v-slot:actions>
<v-icon color="green">fa fa-check</v-icon>
</template>
</v-expansion-panel-header>
<v-expansion-panel-content>
<v-col cols="4">
<v-btn
text
color="primary"
@click="
delete(Test)
"
>delete</v-btn
>
</v-col>
</v-expansion-panel-content>
</v-expansion-panel>