update
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Vue from 'vue'
|
||||||
export default {
|
export default {
|
||||||
name: 'AppMain',
|
name: 'AppMain',
|
||||||
data() {
|
data() {
|
||||||
@@ -39,7 +40,10 @@ export default {
|
|||||||
'$route.path': {
|
'$route.path': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
this.renderAd = false
|
this.renderAd = false
|
||||||
this.renderAd = true
|
const _this = this
|
||||||
|
Vue.nextTick(function() {
|
||||||
|
_this.renderAd = true
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user