📝 去除版本.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
1
orion-visor-ui/src/env.d.ts
vendored
1
orion-visor-ui/src/env.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user