File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1010 </a-carousel >
1111 </template >
1212 <template v-else-if =" showGoogleAd " >
13- <template v-if =" isCN " >
13+ <!-- < template v-if="isCN">
1414 <WWAds :key="`WWAds_${$route.path}`" />
15- </template >
16- <google-ads-top v-else :key =" `GoogleAdsTop_${$route.path}`" />
15+ </template> -->
16+ <google-ads-top :key =" `GoogleAdsTop_${$route.path}`" />
1717 </template >
1818 </div >
1919</template >
@@ -23,19 +23,19 @@ import dayjs from 'dayjs';
2323import isBetween from ' dayjs/plugin/isBetween' ;
2424dayjs .extend (isBetween);
2525import GoogleAdsTop from ' ./GoogleAdsTop.vue' ;
26- import WWAds from ' ./WWAds.vue' ;
26+ // import WWAds from './WWAds.vue';
2727const isEffective = (start , end ) => {
2828 return dayjs ().isBetween (start, end);
2929};
3030export default {
3131 components: {
3232 GoogleAdsTop,
33- WWAds,
33+ // WWAds,
3434 },
3535 props: [' isCN' , ' isMobile' ],
3636 data () {
3737 return {
38- show: false ,
38+ show: true ,
3939 showGoogleAd: location .host .indexOf (' antdv.com' ) > - 1 ,
4040 cnAds: [
4141 {
Original file line number Diff line number Diff line change 3737 </template >
3838 <a-col :xxxl =" 20" :xxl =" 20" :xl =" 19" :lg =" 18" :md =" 18" :sm =" 24" :xs =" 24" >
3939 <section :class =" mainContainerClass" >
40- <!-- <TopAd :is-c-n="isZhCN" /> -->
4140 <WWAdsVue v-if =" isZhCN" />
41+ <TopAd v-else />
4242 <Demo v-if =" isDemo" :page-data =" pageData" :is-zh-c-n =" isZhCN" >
4343 <component :is =" matchCom" />
4444 </Demo >
You can’t perform that action at this time.
0 commit comments