mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-11-08 05:05:24 +00:00
广告优化,加入插件版本使用统计
This commit is contained in:
@@ -80,6 +80,9 @@ export default defineComponent({
|
||||
// 单位分钟
|
||||
const diff = (Date.now() - time) / 1000 / 60;
|
||||
isShow.value = diff >= showDuration;
|
||||
if (isShow.value && ads.value.length) {
|
||||
ga(GA_EventName.ShowAd);
|
||||
}
|
||||
}
|
||||
}
|
||||
onUnmounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user