<template>
<div id="app">
<router-view :key="key" />
</div>
</template>
<script>
export default {
data() {
return {
};
},
mounted() {
},
computed: {
key() {
return this.$route.name !== undefined? this.$route.name + new Date(): this.$route + new Date()
}
}
};
</script>