mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 19:16:37 +08:00
commit:1.5多应用版本
This commit is contained in:
@@ -5,11 +5,13 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import projectConfig from '@/core/config';
|
||||
|
||||
export default {
|
||||
watch: {
|
||||
$route: {
|
||||
handler (newValue) {
|
||||
document.title = '橙单工程';
|
||||
document.title = projectConfig.projectName;
|
||||
if (newValue.meta && newValue.meta.title) document.title += ' - ' + newValue.meta.title;
|
||||
},
|
||||
immediate: true
|
||||
|
||||
Reference in New Issue
Block a user