From 4eaf6d8835d4e9b204f13d012f13bbd8a94a21cc Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期日, 21 七月 2024 22:52:37 +0800
Subject: [PATCH] lll
---
wechat_jiaxuan/pages/detailDis/product.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wechat_jiaxuan/pages/detailDis/product.js b/wechat_jiaxuan/pages/detailDis/product.js
index b7fe333..9f3398b 100644
--- a/wechat_jiaxuan/pages/detailDis/product.js
+++ b/wechat_jiaxuan/pages/detailDis/product.js
@@ -35,7 +35,7 @@
actionType,
id: this.data.info.id
}).then(res => {
- info.isCollection = info.isCollection || info.isCollection == 'true' ? 'false' : 'true'
+ info.isCollection = !info.isCollection
this.setData({info})
})
},
--
Gitblit v1.9.3