crops/ruoyi-ui/src/App.vue

20 lines
443 B
Vue
Raw Normal View History

2019-10-08 09:14:38 +08:00
<template>
<div id="app">
<router-view />
</div>
</template>
<script>
export default {
name: 'App',
metaInfo() {
return {
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
titleTemplate: title => {
return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
}
}
}
2019-10-08 09:14:38 +08:00
}
</script>