u-swipe-action 点击删除后,删除按钮不能自动关闭
<u-swipe-action
v-for="(item, index) in itemList"
:show="item.show"
:index="index"
:key="item.shopItemVo.itemId"
@click="click(index)"
:options="options"
:ref="'swipeAction'+index+1"
>
<!-- 结构体 -->
</u-swipe-action>
handleDel(index){
// 修改删除后下一条数据依然显示删除框问题
let test = 'swipeAction' + index+1
this.$refs[test][0].close()
this.itemList.splice(index, 1)
}