update
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
</keep-alive>
|
||||
</transition>
|
||||
<div
|
||||
v-if="renderAd"
|
||||
class="wwads-cn wwads-vertical"
|
||||
data-id="148"
|
||||
style="z-index:10000;position:fixed;bottom:33px;right:5px;max-width:200px;padding:10px;border-radius:5px;"
|
||||
@@ -21,6 +22,11 @@
|
||||
<script>
|
||||
export default {
|
||||
name: 'AppMain',
|
||||
data() {
|
||||
return {
|
||||
renderAd: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
cachedViews() {
|
||||
return this.$store.state.tagsView.cachedViews
|
||||
@@ -28,6 +34,14 @@ export default {
|
||||
key() {
|
||||
return this.$route.path
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$route.path': {
|
||||
handler: function() {
|
||||
this.renderAd = false
|
||||
this.renderAd = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user