mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
20 lines
386 B
Vue
20 lines
386 B
Vue
<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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|