⬆️ 升级 arco 版本.

This commit is contained in:
lijiahang
2024-06-18 11:53:58 +08:00
parent d56cfbba82
commit 2919950c5b
10 changed files with 929 additions and 781 deletions

View File

@@ -33,7 +33,7 @@ public class CommandSnippetGroupAutoClearTask {
@Scheduled(cron = "0 10 2 * * ?")
public void clear() {
log.info("CommandSnippetGroupAutoClearTask.clear start");
// 获取锁并清理
// 获取锁并执行
LockerUtils.tryLock(LOCK_KEY, commandSnippetGroupService::clearUnusedGroup);
log.info("CommandSnippetGroupAutoClearTask.clear finish");
}

View File

@@ -51,7 +51,7 @@ public class ExecLogFileAutoClearTask {
@Scheduled(cron = "0 0 3 * * ?")
public void clear() {
log.info("ExecLogFileAutoClearTask.clear start");
// 获取锁并执行
// 获取锁并执行
LockerUtils.tryLock(LOCK_KEY, this::doClearFile);
log.info("ExecLogFileAutoClearTask.clear finish");
}

View File

@@ -33,7 +33,7 @@ public class PathBookmarkGroupAutoClearTask {
@Scheduled(cron = "0 20 2 * * ?")
public void clear() {
log.info("PathBookmarkGroupAutoClearTask.clear start");
// 获取锁并清理
// 获取锁并执行
LockerUtils.tryLock(LOCK_KEY, pathBookmarkGroupService::clearUnusedGroup);
log.info("PathBookmarkGroupAutoClearTask.clear finish");
}

View File

@@ -1,6 +1,6 @@
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.0.8'
VITE_APP_RELEASE= 'Community'
VITE_APP_RELEASE= 'community'
VITE_SFTP_PREVIEW_MB= 2
VITE_DEMO_MODE= false

View File

@@ -1,6 +1,6 @@
VITE_API_BASE_URL= '/orion-visor/api'
VITE_WS_BASE_URL= '/orion-visor/keep-alive'
VITE_APP_VERSION= '2.0.8'
VITE_APP_RELEASE= 'Community'
VITE_APP_RELEASE= 'community'
VITE_SFTP_PREVIEW_MB= 2
VITE_DEMO_MODE= false

View File

@@ -32,7 +32,7 @@
]
},
"dependencies": {
"@arco-design/web-vue": "^2.55.0",
"@arco-design/web-vue": "^2.55.3",
"@dangojs/a-query-header": "^0.0.31",
"@sanqi377/arco-vue-icon-picker": "^1.0.7",
"@vueuse/core": "^9.3.0",

File diff suppressed because it is too large Load Diff

View File

@@ -27,7 +27,8 @@ export function getSystemAppInfo() {
* 获取仓库最后版本信息
*/
export function getRepoLatestRelease() {
return axios.get<RepoReleaseResponse>('https://gitee.com/api/v5/repos/dromara/orion-visor/releases/latest', {
// return axios.get<RepoReleaseResponse>('https://gitee.com/api/v5/repos/dromara/orion-visor/releases/latest', {
return axios.get<RepoReleaseResponse>('https://lijiahangmax.github.io/open-orion/orion-visor/releases-latest.json', {
// 不添加请求头 否则会报 401
setAuthorization: false,
// 返回原始输出

View File

@@ -68,6 +68,7 @@
await openLogWithId(Number.parseInt(keyParam as string));
}
});
</script>
<style lang="less" scoped>

View File

@@ -1,10 +1,10 @@
<template>
<div class="tabs-container">
<a-tabs type="rounded"
<a-tabs v-model:active-key="activeKey"
type="rounded"
size="medium"
position="left"
:lazy-load="true"
:destroy-on-hide="true">
:lazy-load="true">
<!-- 关于 -->
<a-tab-pane key="about" title="关于">
<about />
@@ -20,8 +20,22 @@
</script>
<script lang="ts" setup>
import { onBeforeMount, ref } from 'vue';
import { useRoute } from 'vue-router';
import About from './components/about.vue';
const route = useRoute();
const activeKey = ref('license');
// 跳转到指定页
onBeforeMount(() => {
const key = route.query.key;
if (key) {
activeKey.value = key as string;
}
});
</script>
<style lang="less" scoped>