From 71b92b0c6d3d7efd603d9fcb84506be0cbf0e4a6 Mon Sep 17 00:00:00 2001
From: 明梦爽 <2972214568@qq.com>
Date: 星期一, 08 八月 2022 18:20:39 +0800
Subject: [PATCH] 完善Readme
---
src/components/globalTitle.vue | 31 ++++++++++++++++---------------
1 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/src/components/globalTitle.vue b/src/components/globalTitle.vue
index bcbff51..5d3fe80 100644
--- a/src/components/globalTitle.vue
+++ b/src/components/globalTitle.vue
@@ -2,7 +2,9 @@
<div>
<el-row>
<div class="fl">
- <span><b>{{ getTitle(this.$route.query.title) }}</b></span>
+ <span
+ ><b>{{ getTitle(this.$route.query.title) }}</b></span
+ >
</div>
<div class="fr">
<el-breadcrumb separator-class="el-icon-arrow-right">
@@ -16,17 +18,16 @@
</template>
<script>
export default {
- name:'globalTitle',
- data(){
+ name: 'globalTitle',
+ data() {
return {
- title:'',
+ title: ''
}
},
- created(){
- },
- methods:{
- getTitle(v){
- switch(v){
+ created() {},
+ methods: {
+ getTitle(v) {
+ switch (v) {
case 'introduce':
return '绉戝崗姒傚喌'
case 'zhengce':
@@ -37,7 +38,7 @@
return '瀛︽湳浜ゆ祦'
case 'banShiZhiNan':
return '鍔炰簨鎸囧崡'
- case 'kePu':
+ case 'kePuFengCai':
return '绉戞櫘椋庨噰'
case 'xueXiaoShouYe':
return '瀛︽牎棣栭〉'
@@ -50,8 +51,8 @@
</script>
<style scoped>
- .el-row {
- /* background-color: rgb(83, 168, 125); */
- border-bottom: 1px solid #0f99e9;
- }
-</style>
\ No newline at end of file
+.el-row {
+ /* background-color: rgb(83, 168, 125); */
+ border-bottom: 1px solid #0f99e9;
+}
+</style>
--
Gitblit v1.8.0