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> <template>
<div class="markdown api-container"> <div class="markdown api-container">
<google-ads v-if="showAd" />
<slot v-if="isZhCN" name="cn" /> <slot v-if="isZhCN" name="cn" />
<slot v-else /> <slot v-else />
</div> </div>

View File

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

View File

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