|
@@ -933,6 +933,9 @@ var vNode = {
|
|
|
if (res.data && res.data == 'success') {
|
|
|
_this.entInfo.follow = !_this.entInfo.follow
|
|
|
}
|
|
|
+ if(_this.entInfo.follow) {
|
|
|
+ _this.pointsTaskSuccessTip()
|
|
|
+ }
|
|
|
|
|
|
if (!_this.entInfo.follow) {
|
|
|
history.back()
|
|
@@ -947,6 +950,19 @@ var vNode = {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ // 赚剑鱼币任务完成提示
|
|
|
+ pointsTaskSuccessTip: function() {
|
|
|
+ // 获取剑鱼币任务信息
|
|
|
+ const from = utils.getParam('from')
|
|
|
+ var point = utils.getParam('point') || 0
|
|
|
+ if(from && from === 'task'){
|
|
|
+ this.$toast({
|
|
|
+ message: `绑定邮箱成功,获得${point}剑鱼币。`,
|
|
|
+ duration: 1500
|
|
|
+ })
|
|
|
+ utils.delUrlParam('from')
|
|
|
+ }
|
|
|
+ },
|
|
|
// 初始化图标数据
|
|
|
initChartsData: function () {
|
|
|
var dataSet = this.entPortraitInfo
|