const index = state.finStrategyList.findIndex(v => v.value === plan.value)
if(index >= 0){
state.finStrategyList.splice(index,1)
}
查找数组中元素所在index
猜你喜欢
转载自blog.csdn.net/weixin_43837268/article/details/89598700
今日推荐
周排行