mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
perf: 点击版本红点按钮,跳转到升级帮助页面
This commit is contained in:
@@ -76,8 +76,8 @@ export default defineConfig({
|
|||||||
{ text: "源码部署", link: "/guide/install/source/" }
|
{ text: "源码部署", link: "/guide/install/source/" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{ text: "演示教程", link: "/guide/tutorial.md" }
|
{ text: "演示教程", link: "/guide/tutorial.md" },
|
||||||
|
{ text: "版本升级", link: "/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)
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<a-tag color="green" class="flex-inline pointer"> <fs-icon icon="ion:time-outline" class="mr-5"></fs-icon> {{ now }}</a-tag>
|
<a-tag color="green" class="flex-inline pointer"> <fs-icon icon="ion:time-outline" class="mr-5"></fs-icon> {{ now }}</a-tag>
|
||||||
<a-badge v-if="userStore.isAdmin" :dot="hasNewVersion">
|
<a-badge v-if="userStore.isAdmin" :dot="hasNewVersion">
|
||||||
<a-tag color="blue" class="flex-inline pointer" :title="'最新版本:' + latestVersion">
|
<a-tag color="blue" class="flex-inline pointer" :title="'最新版本:' + latestVersion" @click="openUpgradeUrl()">
|
||||||
<fs-icon icon="ion:rocket-outline" class="mr-5"></fs-icon>
|
<fs-icon icon="ion:rocket-outline" class="mr-5"></fs-icon>
|
||||||
v{{ version }}
|
v{{ version }}
|
||||||
</a-tag>
|
</a-tag>
|
||||||
@@ -210,6 +210,10 @@ onMounted(async () => {
|
|||||||
await loadCount();
|
await loadCount();
|
||||||
await loadPluginGroups();
|
await loadPluginGroups();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function openUpgradeUrl() {
|
||||||
|
window.open("https://certd.docmirror.cn/guide/install/upgrade.html");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
|||||||
Reference in New Issue
Block a user