forEach 刪除某個元素后,索引更改后,不會在重新執行了
參照:http://www.rzrgm.cn/echolun/p/11544045.html
detailList.value = detailList.value.filter((item) => {
return item.Buy!== "" && item.Sell !== "";
});
index--也不行,使用filter很好~~
https://dozi5f708lowl.cloudfront.net/#/login

浙公網安備 33010602011771號