diff --git a/pkg_user/views/myFavorite.vue b/pkg_user/views/myFavorite.vue index afe1612..3fc03fa 100644 --- a/pkg_user/views/myFavorite.vue +++ b/pkg_user/views/myFavorite.vue @@ -251,7 +251,7 @@ export default { remove() { const _this = this const ids = [] - switch (that.tabsIndex) { + switch (_this.tabsIndex) { case 0: _this.productList.forEach(item => { if (item['state']) ids.push(item.id)