|
|
@ -636,7 +636,7 @@ |
|
|
|
setCollect: function () { |
|
|
|
setCollect: function () { |
|
|
|
let that = this, |
|
|
|
let that = this, |
|
|
|
id = that.storeInfo.id, |
|
|
|
id = that.storeInfo.id, |
|
|
|
category = "product"; |
|
|
|
category = "collect"; |
|
|
|
if (that.storeInfo.userCollect) { |
|
|
|
if (that.storeInfo.userCollect) { |
|
|
|
getCollectDel(id, category).then(function () { |
|
|
|
getCollectDel(id, category).then(function () { |
|
|
|
that.storeInfo.userCollect = !that.storeInfo.userCollect; |
|
|
|
that.storeInfo.userCollect = !that.storeInfo.userCollect; |
|
|
|