From 8add1b7f92757cf2e15fba1b3f28e6717044e2c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E6=80=80=E7=A3=8A=E2=80=9D?= <2280131253@qq.com> Date: Tue, 4 Jan 2022 14:37:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20lina=20=E4=BF=AE=E6=94=B9=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=8C=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +--------- src/layout/components/Footer/index.vue | 7 ++++++- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 65e13619f..1c2a60559 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,4 @@ server { ## License & Copyright -Copyright (c) 2014-2021 飞致云 FIT2CLOUD, All rights reserved. - -Licensed under The GNU General Public License version 2 (GPLv2) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - -https://github.com/jumpserver/lina/blob/dev/LICENSE - -Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - - +Be consistent with [jumpserver](https://github.com/jumpserver/jumpserver) diff --git a/src/layout/components/Footer/index.vue b/src/layout/components/Footer/index.vue index 391a66333..27f3a4361 100644 --- a/src/layout/components/Footer/index.vue +++ b/src/layout/components/Footer/index.vue @@ -4,7 +4,7 @@ Version dev GPLv2.
- Copyright FIT2CLOUD 飞致云 © 2014-2021 + Copyright FIT2CLOUD 飞致云 © 2014-{{ curYear }}
@@ -12,6 +12,11 @@ import { mapGetters } from 'vuex' export default { name: 'Footer', + data() { + return { + curYear: this.$moment().year() || '' + } + }, computed: { ...mapGetters([ 'sidebar',