This commit is contained in:
Zheng Jie
2022-07-29 17:41:50 +08:00
parent ed9df3b2ff
commit d508df1cc1

View File

@@ -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
})
} }
} }
} }