加入小工具页面(空白)、设置页面
This commit is contained in:
25
src/views/Tools.vue
Normal file
25
src/views/Tools.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<el-container class="tools">
|
||||
|
||||
</el-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Tools',
|
||||
data() {
|
||||
return {
|
||||
utils: this.$root.utils
|
||||
};
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
next(vm => {
|
||||
vm.utils.changeTitle('小工具');
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
||||
</style>
|
Reference in New Issue
Block a user