From 454fbda581bbe22abca5b91e5086ea9d9d58a020 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 11 Dec 2024 13:59:00 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=82=B9=E5=87=BB=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=BA=A2=E7=82=B9=E6=8C=89=E9=92=AE=EF=BC=8C=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E5=8D=87=E7=BA=A7=E5=B8=AE=E5=8A=A9=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config.ts | 4 ++-- docs/guide/install/upgrade.md | 12 ++++++++++++ .../src/views/framework/home/dashboard/index.vue | 6 +++++- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 docs/guide/install/upgrade.md diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index b8969d2c1..cb578e788 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -76,8 +76,8 @@ export default defineConfig({ { text: "源码部署", link: "/guide/install/source/" } ] }, - { text: "演示教程", link: "/guide/tutorial.md" } - + { text: "演示教程", link: "/guide/tutorial.md" }, + { text: "版本升级", link: "/guide/install/upgrade.md" } ] }, { diff --git a/docs/guide/install/upgrade.md b/docs/guide/install/upgrade.md new file mode 100644 index 000000000..9ef514f0a --- /dev/null +++ b/docs/guide/install/upgrade.md @@ -0,0 +1,12 @@ +# 版本升级 + +## 升级方法 +根据不同部署方式查看升级方法 + +1. [Docker方式部署升级](./install/docker/#二、升级) +2. [宝塔面板方式部署升级](./install/baota/#三、如何升级) +3. [1Panel面板方式部署升级](./install/1panel/#三、升级) +4. [源码方式部署](./install/source/#二、升级) + +## 升级日志 +[CHANGELOG](../changelogs/CHANGELOG.md) diff --git a/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue b/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue index 0c5c727e3..1ddbea9ae 100644 --- a/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue +++ b/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue @@ -15,7 +15,7 @@
{{ now }} - + v{{ version }} @@ -210,6 +210,10 @@ onMounted(async () => { await loadCount(); await loadPluginGroups(); }); + +function openUpgradeUrl() { + window.open("https://certd.docmirror.cn/guide/install/upgrade.html"); +}