mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 02:56:30 +08:00
commit:添加单体工程开源版本
This commit is contained in:
19
orange-demo-single-web/src/App.vue
Normal file
19
orange-demo-single-web/src/App.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div>
|
||||
<router-view></router-view>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
watch: {
|
||||
$route: {
|
||||
handler (newValue) {
|
||||
document.title = '橙单工程';
|
||||
if (newValue.meta && newValue.meta.title) document.title += ' - ' + newValue.meta.title;
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user