埋点,im,客服删除
This commit is contained in:
@@ -149,12 +149,6 @@ import mediaContentInfo from '../../utils/mediaContentInfo';
|
||||
import CommunityApi from '@/service/community';
|
||||
import { useGlobalStore } from '@/stores/global';
|
||||
import Episode from '../../components/episode.vue';
|
||||
import {
|
||||
getVideoType,
|
||||
reportCollectCommentEvent,
|
||||
reportCollectFn,
|
||||
reportLikeCommentEvent,
|
||||
} from '@/utils/eventReporter/videoComment';
|
||||
const emits = defineEmits(['updateLiked', 'updateCollected', 'updateItem', 'openRoadLine']);
|
||||
const globalStore = useGlobalStore();
|
||||
|
||||
@@ -232,7 +226,6 @@ const onToogleCollected = () => {
|
||||
mediaStatus: { hasCollected },
|
||||
} = props.info;
|
||||
const tempIsCollect = !hasCollected;
|
||||
tempIsCollect ? reportCollectFn(1, 1, props.info) : reportCollectFn(1, 2, props.info);
|
||||
handleCollected(id, tempIsCollect).then(() => {
|
||||
emits('updateCollected', tempIsCollect);
|
||||
Collected_emit(id, tempIsCollect);
|
||||
@@ -244,7 +237,6 @@ const onToogleCollected = () => {
|
||||
|
||||
const onToogleLiked = () => {
|
||||
const zan = !props.info.mediaStatus.hasLiked;
|
||||
zan ? reportCollectFn(2, 1, props.info) : reportCollectFn(2, 2, props.info);
|
||||
(zan ? CommunityApi.zan : CommunityApi.cancleZan)(
|
||||
zan
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user