修改组件名称

This commit is contained in:
2022-03-17 12:06:09 +08:00
parent d2d6267a54
commit 973dfa264b
5 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@
<script>
export default {
name: 'About',
name: 'AboutView',
beforeRouteEnter(to, from, next) {
next(vm => {
vm.utils.changeTitle('关于');

View File

@@ -226,7 +226,7 @@
import Icon from '@/components/Icon.vue';
export default {
name: 'Home',
name: 'HomeView',
components: {
Icon
},

View File

@@ -48,7 +48,7 @@
<script>
export default {
name: 'Settings',
name: 'SettingsView',
beforeRouteEnter(to, from, next) {
next(vm => {
vm.utils.changeTitle('设置');

View File

@@ -60,7 +60,7 @@
import navTools from '@/assets/js/navTools.js';
export default {
name: 'Tools',
name: 'ToolsView',
data() {
return {
utils: this.$root.utils,