diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index 0cf6bc6..35e3b90 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -25,23 +25,23 @@ export default { }, key() { return this.$route.path - }, - watch: { - '$route.path': { - handler: function() { - // define ads element - const ads = document.getElementById('ww-container') - // ad parent node - const prn = ads.parentNode - // lets clone ads block - const cln = ads.cloneNode(true) - // remove the current ads block completely - prn.removeChild(ads) - // append a newly cloned one - prn.appendChild(cln) - } - } } + // watch: { + // '$route.path': { + // handler: function() { + // // define ads element + // const ads = document.getElementById('ww-container') + // // ad parent node + // const prn = ads.parentNode + // // lets clone ads block + // const cln = ads.cloneNode(true) + // // remove the current ads block completely + // prn.removeChild(ads) + // // append a newly cloned one + // prn.appendChild(cln) + // } + // } + // } } }