refactor: remove Google Ads components from API and layout
parent
e8a1a4a217
commit
19b005867f
|
@ -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>
|
||||
|
|
|
@ -338,7 +338,6 @@ export default {
|
|||
],
|
||||
}}
|
||||
></router-view>
|
||||
{showAd ? <GoogleAds key={`GoogleAds_${$route.path}`} /> : null}
|
||||
</div>
|
||||
) : (
|
||||
''
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
<template v-if="isCN">
|
||||
<WWAds :key="`WWAds_${$route.path}`" />
|
||||
</template>
|
||||
<GoogleAdsTop v-else :key="`GoogleAdsTop_${$route.path}`" />
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue