From 437ab1797d9c9da58538db4fcea4206f7ffc7a14 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期日, 04 八月 2024 18:35:36 +0800
Subject: [PATCH] update 花农提醒问题
---
manifest.json | 2 +-
sub_pages/supplier/flower-manage/flower-manage.vue | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/manifest.json b/manifest.json
index 2848179..f2448bf 100644
--- a/manifest.json
+++ b/manifest.json
@@ -49,7 +49,7 @@
"quickapp" : {},
/* 快应用特有相关 */
"mp-weixin" : {
- "appid" : "wx1441324401626290",
+ "appid" : "wx3203fd935a6ffe09",
"setting" : {
"urlCheck" : false,
"es6" : true,
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