mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
commit:单体工程目录
This commit is contained in:
21
orange-demo-single/orange-demo-single-web/src/App.vue
Normal file
21
orange-demo-single/orange-demo-single-web/src/App.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div>
|
||||
<router-view></router-view>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import projectConfig from '@/core/config';
|
||||
|
||||
export default {
|
||||
watch: {
|
||||
$route: {
|
||||
handler (newValue) {
|
||||
document.title = projectConfig.projectName;
|
||||
if (newValue.meta && newValue.meta.title) document.title += ' - ' + newValue.meta.title;
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user