update
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
</keep-alive>
|
</keep-alive>
|
||||||
</transition>
|
</transition>
|
||||||
<div
|
<div
|
||||||
v-if="isActive"
|
|
||||||
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;"
|
||||||
@@ -22,11 +21,6 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'AppMain',
|
name: 'AppMain',
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
isActive: true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
computed: {
|
||||||
cachedViews() {
|
cachedViews() {
|
||||||
return this.$store.state.tagsView.cachedViews
|
return this.$store.state.tagsView.cachedViews
|
||||||
@@ -38,14 +32,6 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
'$route.path': {
|
'$route.path': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
this.isActive = false
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.isActive = true
|
|
||||||
})
|
|
||||||
var hm = document.createElement('script')
|
|
||||||
hm.src = '//cdn.wwads.cn/js/makemoney.js'
|
|
||||||
var s = document.getElementsByTagName('script')[0]
|
|
||||||
s.parentNode.insertBefore(hm, s)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user