star function
This commit is contained in:
@@ -144,8 +144,7 @@
|
||||
/**收藏或者取消收藏*/
|
||||
star: function () {
|
||||
const coop_mind_id = this.coop_mind_id
|
||||
console.log(coop_mind_id)
|
||||
console.log(this.from_share)
|
||||
console.log(`this.from_share:${this.from_share}`)
|
||||
|
||||
// ajax start
|
||||
$.ajax({
|
||||
@@ -155,11 +154,7 @@
|
||||
data: {'coop_mind_id': coop_mind_id},
|
||||
dataType: "json",
|
||||
success: function (resp) {
|
||||
if (resp.code === 0) {
|
||||
console.log(resp)
|
||||
} else {
|
||||
common_alert(resp.msg)
|
||||
}
|
||||
common_alert(resp.msg)
|
||||
},
|
||||
async: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user