From 00bf17838b496e6fcfed2e521f9c27f8f0e3e3c7 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 05 八月 2024 18:38:20 +0800
Subject: [PATCH] ‘’

---
 wechat_staff/pages/detailDis/case.js |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/wechat_staff/pages/detailDis/case.js b/wechat_staff/pages/detailDis/case.js
index 5e0a0ee..96d2389 100644
--- a/wechat_staff/pages/detailDis/case.js
+++ b/wechat_staff/pages/detailDis/case.js
@@ -97,10 +97,11 @@
         actionType: flag ? 'collect' : 'collect_cancel'
       }).then(res => {
         info.isCollection = flag
-        wx.showToast({title: flag ? '鏀惰棌鎴愬姛' : '鍙栨秷鏀惰棌'})
+        wx.showToast({title: flag ? '鏀惰棌鎴愬姛' : '鍙栨秷鏀惰棌',icon: 'none'})
         this.setData({
           info
-        })
+        }) 
+        wx.setStorageSync('conentCountTemp', this.data.info)
       })
     }
   },
@@ -115,6 +116,7 @@
       this.setData({info})
       wx.showToast({
         title: actionType == 'collect' ? '鏀惰棌鎴愬姛' : '鍙栨秷鏀惰棌',
+        icon: 'none'
       })
     })
   },
@@ -127,7 +129,8 @@
       }})
       wx.setNavigationBarTitle({
         title: res.data.title
-     })
+     }) 
+     wx.setStorageSync('conentCountTemp', this.data.info)   
     })
   },
   handleDesign() {

--
Gitblit v1.9.3