|
@@ -116,10 +116,12 @@ export default {
|
|
|
if (res.error_code === 0) {
|
|
|
// 关闭弹窗
|
|
|
this.setFollowCancel()
|
|
|
- this.$toast(res.error_msg || '监控成功,已添加至企业情报监控内')
|
|
|
if (res.data?.status) {
|
|
|
this.follow.classActive = 'icon-yijiankong'
|
|
|
this.follow.text = '已监控'
|
|
|
+ this.$toast(res.error_msg || '监控成功,已添加至企业情报监控内')
|
|
|
+ } else {
|
|
|
+ this.$toast(res.error_msg || '监控失败')
|
|
|
}
|
|
|
this.$emit('followSuccess')
|
|
|
} else {
|