Vue Rerender function

This commit is contained in:
2019-07-23 17:22:01 +02:00
parent b1d0a0f095
commit 2d4850520d
10 changed files with 106 additions and 81 deletions
+2 -13
View File
@@ -95,28 +95,17 @@
<div class="om-content">
<div id=xxx></div>
<nav-router></nav-router>
<router-view :key="auth.user"></router-view>
<router-view :key="vueRender.key"></router-view>
</div>
</div>
<script>
new Vue({
router,
el: '#api',
components: {
// Locally registered components
},
data: {
// Locally registered variables
auth: auth,
},
computed:{
// Methods to change data appearance, does cache results
},
methods: {
// Methods to change data content, run always again
vueRender : vueRender,
},
});
</script>