⬆️ 升级 arco 版本.
This commit is contained in:
@@ -33,7 +33,7 @@ public class CommandSnippetGroupAutoClearTask {
|
|||||||
@Scheduled(cron = "0 10 2 * * ?")
|
@Scheduled(cron = "0 10 2 * * ?")
|
||||||
public void clear() {
|
public void clear() {
|
||||||
log.info("CommandSnippetGroupAutoClearTask.clear start");
|
log.info("CommandSnippetGroupAutoClearTask.clear start");
|
||||||
// 获取锁并清理
|
// 获取锁并执行
|
||||||
LockerUtils.tryLock(LOCK_KEY, commandSnippetGroupService::clearUnusedGroup);
|
LockerUtils.tryLock(LOCK_KEY, commandSnippetGroupService::clearUnusedGroup);
|
||||||
log.info("CommandSnippetGroupAutoClearTask.clear finish");
|
log.info("CommandSnippetGroupAutoClearTask.clear finish");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ public class ExecLogFileAutoClearTask {
|
|||||||
@Scheduled(cron = "0 0 3 * * ?")
|
@Scheduled(cron = "0 0 3 * * ?")
|
||||||
public void clear() {
|
public void clear() {
|
||||||
log.info("ExecLogFileAutoClearTask.clear start");
|
log.info("ExecLogFileAutoClearTask.clear start");
|
||||||
// 获取锁并且执行
|
// 获取锁并执行
|
||||||
LockerUtils.tryLock(LOCK_KEY, this::doClearFile);
|
LockerUtils.tryLock(LOCK_KEY, this::doClearFile);
|
||||||
log.info("ExecLogFileAutoClearTask.clear finish");
|
log.info("ExecLogFileAutoClearTask.clear finish");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class PathBookmarkGroupAutoClearTask {
|
|||||||
@Scheduled(cron = "0 20 2 * * ?")
|
@Scheduled(cron = "0 20 2 * * ?")
|
||||||
public void clear() {
|
public void clear() {
|
||||||
log.info("PathBookmarkGroupAutoClearTask.clear start");
|
log.info("PathBookmarkGroupAutoClearTask.clear start");
|
||||||
// 获取锁并清理
|
// 获取锁并执行
|
||||||
LockerUtils.tryLock(LOCK_KEY, pathBookmarkGroupService::clearUnusedGroup);
|
LockerUtils.tryLock(LOCK_KEY, pathBookmarkGroupService::clearUnusedGroup);
|
||||||
log.info("PathBookmarkGroupAutoClearTask.clear finish");
|
log.info("PathBookmarkGroupAutoClearTask.clear finish");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
VITE_API_BASE_URL= 'http://127.0.0.1:9200/orion-visor/api'
|
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_WS_BASE_URL= 'ws://127.0.0.1:9200/orion-visor/keep-alive'
|
||||||
VITE_APP_VERSION= '2.0.8'
|
VITE_APP_VERSION= '2.0.8'
|
||||||
VITE_APP_RELEASE= 'Community'
|
VITE_APP_RELEASE= 'community'
|
||||||
VITE_SFTP_PREVIEW_MB= 2
|
VITE_SFTP_PREVIEW_MB= 2
|
||||||
VITE_DEMO_MODE= false
|
VITE_DEMO_MODE= false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
VITE_API_BASE_URL= '/orion-visor/api'
|
VITE_API_BASE_URL= '/orion-visor/api'
|
||||||
VITE_WS_BASE_URL= '/orion-visor/keep-alive'
|
VITE_WS_BASE_URL= '/orion-visor/keep-alive'
|
||||||
VITE_APP_VERSION= '2.0.8'
|
VITE_APP_VERSION= '2.0.8'
|
||||||
VITE_APP_RELEASE= 'Community'
|
VITE_APP_RELEASE= 'community'
|
||||||
VITE_SFTP_PREVIEW_MB= 2
|
VITE_SFTP_PREVIEW_MB= 2
|
||||||
VITE_DEMO_MODE= false
|
VITE_DEMO_MODE= false
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@arco-design/web-vue": "^2.55.0",
|
"@arco-design/web-vue": "^2.55.3",
|
||||||
"@dangojs/a-query-header": "^0.0.31",
|
"@dangojs/a-query-header": "^0.0.31",
|
||||||
"@sanqi377/arco-vue-icon-picker": "^1.0.7",
|
"@sanqi377/arco-vue-icon-picker": "^1.0.7",
|
||||||
"@vueuse/core": "^9.3.0",
|
"@vueuse/core": "^9.3.0",
|
||||||
|
|||||||
1674
orion-visor-ui/pnpm-lock.yaml
generated
1674
orion-visor-ui/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,8 @@ export function getSystemAppInfo() {
|
|||||||
* 获取仓库最后版本信息
|
* 获取仓库最后版本信息
|
||||||
*/
|
*/
|
||||||
export function getRepoLatestRelease() {
|
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
|
// 不添加请求头 否则会报 401
|
||||||
setAuthorization: false,
|
setAuthorization: false,
|
||||||
// 返回原始输出
|
// 返回原始输出
|
||||||
|
|||||||
@@ -68,6 +68,7 @@
|
|||||||
await openLogWithId(Number.parseInt(keyParam as string));
|
await openLogWithId(Number.parseInt(keyParam as string));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="tabs-container">
|
<div class="tabs-container">
|
||||||
<a-tabs type="rounded"
|
<a-tabs v-model:active-key="activeKey"
|
||||||
|
type="rounded"
|
||||||
size="medium"
|
size="medium"
|
||||||
position="left"
|
position="left"
|
||||||
:lazy-load="true"
|
:lazy-load="true">
|
||||||
:destroy-on-hide="true">
|
|
||||||
<!-- 关于 -->
|
<!-- 关于 -->
|
||||||
<a-tab-pane key="about" title="关于">
|
<a-tab-pane key="about" title="关于">
|
||||||
<about />
|
<about />
|
||||||
@@ -20,8 +20,22 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
import { onBeforeMount, ref } from 'vue';
|
||||||
|
import { useRoute } from 'vue-router';
|
||||||
import About from './components/about.vue';
|
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>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user