From 2c08a98f7e85ec7c9376f27a7933e75e44d672f7 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 27 八月 2024 15:52:59 +0800
Subject: [PATCH] ll

---
 wechat_staff/pages/kefu/select.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/wechat_staff/pages/kefu/select.js b/wechat_staff/pages/kefu/select.js
index 9fcf601..f3eb41d 100644
--- a/wechat_staff/pages/kefu/select.js
+++ b/wechat_staff/pages/kefu/select.js
@@ -41,7 +41,7 @@
       customer
     } = this.data
     const enjoyList = wx.getStorageSync('enjoyList') || []
-    if (!customer.customerId) return wx.showToast({
+    if (!customer.platSourceId) return wx.showToast({
       title: '璇峰厛閫夋嫨瑕佸叧鑱旂殑瀹㈡埛',
       icon: 'none'
     })
@@ -58,6 +58,8 @@
             icon: 'none'
           })
         }, 500)
+        const temp = enjoyList.filter(i => !i.checked)
+        wx.setStorageSync('enjoyList', temp)
         this.setData({
           customer: {},
           total: 0,

--
Gitblit v1.9.3