refactor: remove Google Ads components from API and layout

1.x
tangjinzhou 2025-09-20 14:52:21 +08:00
parent e8a1a4a217
commit 19b005867f
3 changed files with 0 additions and 3 deletions

View File

@ -1,6 +1,5 @@
<template>
<div class="markdown api-container">
<google-ads v-if="showAd" />
<slot v-if="isZhCN" name="cn" />
<slot v-else />
</div>

View File

@ -338,7 +338,6 @@ export default {
],
}}
></router-view>
{showAd ? <GoogleAds key={`GoogleAds_${$route.path}`} /> : null}
</div>
) : (
''

View File

@ -13,7 +13,6 @@
<template v-if="isCN">
<WWAds :key="`WWAds_${$route.path}`" />
</template>
<GoogleAdsTop v-else :key="`GoogleAdsTop_${$route.path}`" />
</template>
</div>
</template>