diff --git a/src/renderer/components/Goods/GoodsPage.vue b/src/renderer/components/Goods/GoodsPage.vue index 9700b43e..2bb323a6 100755 --- a/src/renderer/components/Goods/GoodsPage.vue +++ b/src/renderer/components/Goods/GoodsPage.vue @@ -350,7 +350,7 @@ type: 'success', message: '删除成功!' }); - let pIndex = localStorage.getItem('pIndex'); + let pIndex = this.pIndex; console.log(pIndex); if (pIndex == 0) { that.getList();