📝 去除版本.

This commit is contained in:
lijiahang
2024-12-19 09:42:50 +08:00
parent 04327c19e3
commit c95d52e197
4 changed files with 1 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
VITE_API_BASE_URL= 'http://127.0.0.1:9200/orion-visor/api'
VITE_WS_BASE_URL= 'ws://127.0.0.1:9200/orion-visor/keep-alive'
VITE_APP_VERSION= '2.2.1'
VITE_APP_RELEASE= 'community'
VITE_DEMO_MODE= false

View File

@@ -1,5 +1,4 @@
VITE_API_BASE_URL= '/orion-visor/api'
VITE_WS_BASE_URL= '/orion-visor/keep-alive'
VITE_APP_VERSION= '2.2.1'
VITE_APP_RELEASE= 'community'
VITE_DEMO_MODE= false

View File

@@ -6,7 +6,7 @@
<a-link target="_blank" href="https://gitee.com/dromara/orion-visor">gitee</a-link>
<a-link target="_blank" href="https://visor.orionsec.cn">文档</a-link>
<a-link target="_blank" href="https://github.com/dromara/orion-visor/blob/main/LICENSE">License</a-link>
<a-link target="_blank" :href="`https://github.com/dromara/orion-visor/releases/tag/v${version}`">v{{ version }} {{ release }}</a-link>
<a-link target="_blank" :href="`https://github.com/dromara/orion-visor/releases/tag/v${version}`">v{{ version }}</a-link>
</a-space>
<span class="copyright">
Copyright<icon-copyright /> 2023 - {{ new Date().getFullYear() }} Jiahang Li, All rights reserved.
@@ -17,7 +17,6 @@
<script lang="ts" setup>
const version = import.meta.env.VITE_APP_VERSION;
const release = import.meta.env.VITE_APP_RELEASE;
</script>
<style lang="less" scoped>

View File

@@ -19,7 +19,6 @@ interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string;
readonly VITE_WS_BASE_URL: string;
readonly VITE_APP_VERSION: string;
readonly VITE_APP_RELEASE: string;
readonly VITE_DEMO_MODE: string;
}