From 7842252d3e9dd4e5cdb84ed26cd03e0bba6008c1 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 10:07:39 +0800
Subject: [PATCH] 提交
---
wechat_staff/components/buoyClient/index.js | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/wechat_staff/components/buoyClient/index.js b/wechat_staff/components/buoyClient/index.js
index 738093c..0243535 100644
--- a/wechat_staff/components/buoyClient/index.js
+++ b/wechat_staff/components/buoyClient/index.js
@@ -8,10 +8,10 @@
type: String,
value: '0'
}
- },
- attached() {
- const enjoyList = wx.getStorageSync('enjoyList') || []
- this.setData({ enjoyList })
+ },
+ attached() {
+ const enjoyList = wx.getStorageSync('enjoyList') || []
+ this.setData({ enjoyList })
},
/**
* 缁勪欢鐨勫垵濮嬫暟鎹�
@@ -24,6 +24,10 @@
* 缁勪欢鐨勬柟娉曞垪琛�
*/
methods: {
+ freshData() {
+ const enjoyList = wx.getStorageSync('enjoyList') || []
+ this.setData({ enjoyList })
+ },
jumpPage(e) {
const urls = [ '/pages/kefu/fond', '/pages/store/staff' ]
const i = e.currentTarget.dataset.i
--
Gitblit v1.9.3