From 12b2c447a6006f99284c4946b3d6f70cbf43280c Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期六, 10 八月 2024 18:26:16 +0800 Subject: [PATCH] 1 --- sub_pages/supplier/flower-manage/flower-manage.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sub_pages/supplier/flower-manage/flower-manage.vue b/sub_pages/supplier/flower-manage/flower-manage.vue index 85a6e02..8eea3fe 100644 --- a/sub_pages/supplier/flower-manage/flower-manage.vue +++ b/sub_pages/supplier/flower-manage/flower-manage.vue @@ -170,7 +170,7 @@ await this.$store.dispatch('sign_clear', 'flower'); this.getList() }, - onReachBottom() { + onReachBottom() { console.log('onReachBottom') this.getMore() }, @@ -248,14 +248,15 @@ id: item.id } }).then(res => { + this.$message.hideLoading() if (res.code == 0) { this.$message.showToast('操作成功') item.status = (status == 'off' ? 'OFF' : 'UP') item.statusStr = (status == 'off' ? '下架' : '上架') } - }).finally(() => { + }).catch(e => { this.$message.hideLoading() - }) + }).finally(() => {}) }, async buttonDelete(item) { await this.$message.confirm('确定删除此商品吗') -- Gitblit v1.9.3