@@ -427,7 +427,7 @@
console.log(res)
if(res.error_code == 0) {
if(res.data) {
- _this.$toast((params.D ? '取消' : '') + '认领成功')
+ _this.$toast(((params.D || params.B) ? '取消' : '') + (params.hasOwnProperty('D') ? '认领' : '关注') + '成功')
_this.getProjectList()
} else {
_this.$toast(res.error_msg)
@@ -1541,7 +1541,7 @@ if (navigator.userAgent.toLowerCase().indexOf('micromessenger') === -1) {
data.claim = !data.claim
}
_this.$toast('操作成功')
- _this.onLoad()
+ _this.doQueryList()