From 5d3f2aa7ccd9f761a6fd4224e7b49ceb6830abea Mon Sep 17 00:00:00 2001
From: 明梦爽 <2972214568@qq.com>
Date: 星期二, 09 八月 2022 10:02:51 +0800
Subject: [PATCH] 删除未用到的依赖
---
src/components/globalTitle.vue | 29 +++++++++++++++--------------
1 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/src/components/globalTitle.vue b/src/components/globalTitle.vue
index 6e9f2e1..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':
@@ -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