update
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
</keep-alive>
|
</keep-alive>
|
||||||
</transition>
|
</transition>
|
||||||
<div
|
<div
|
||||||
|
:key="key"
|
||||||
class="wwads-cn wwads-vertical"
|
class="wwads-cn wwads-vertical"
|
||||||
data-id="148"
|
data-id="148"
|
||||||
style="z-index:10000;position:fixed;bottom:33px;right:5px;max-width:200px;padding:10px;border-radius:5px;"
|
style="z-index:10000;position:fixed;bottom:33px;right:5px;max-width:200px;padding:10px;border-radius:5px;"
|
||||||
@@ -33,6 +34,16 @@ export default {
|
|||||||
key() {
|
key() {
|
||||||
return this.$route.path
|
return this.$route.path
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
'$route.path': {
|
||||||
|
handler: function() {
|
||||||
|
const oScript = document.createElement('script')
|
||||||
|
oScript.type = 'text/javascript'
|
||||||
|
oScript.src = '//https://cdn.wwads.cn/js/makemoney.js'
|
||||||
|
document.body.appendChild(oScript)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user