From cf8883eb30341817faeb58d887ffe104b329e51f Mon Sep 17 00:00:00 2001 From: Aaron Lewis Date: Fri, 4 Sep 2020 10:32:00 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=90=8E=E5=8F=B0]=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rasp-vue/src/components/Footer.vue | 28 ++++++++++++++++++++++------ rasp-vue/src/util/version.js | 3 +++ 2 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 rasp-vue/src/util/version.js diff --git a/rasp-vue/src/components/Footer.vue b/rasp-vue/src/components/Footer.vue index 767efb8c7..71ffafded 100644 --- a/rasp-vue/src/components/Footer.vue +++ b/rasp-vue/src/components/Footer.vue @@ -10,13 +10,10 @@
  • 最佳实践
  • -
    - 源代码 -
    - Copyright © 2017-2020 Baidu, Inc. 当前版本 {{rasp_version}} + Copyright © 2017-2020 Baidu, Inc. 企业版 {{ cloud.version }} ({{ cloud.commit_id.substr(0, 8) }}),编译时间 {{ cloud.build_time}}
    @@ -24,14 +21,33 @@ diff --git a/rasp-vue/src/util/version.js b/rasp-vue/src/util/version.js new file mode 100644 index 000000000..525157d35 --- /dev/null +++ b/rasp-vue/src/util/version.js @@ -0,0 +1,3 @@ +export var rasp_version = '1.0.0' +export var rasp_commit_id = 'Unknown' +export var rasp_build_time = 'Unknown'