mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-28 05:15:04 +08:00
feat: 页脚增加项目跳转地址 (#3712)
This commit is contained in:
parent
527c8143a1
commit
4eb34f24d1
@ -9,6 +9,10 @@
|
||||
<span>{{ $t('setting.doc2') }}</span>
|
||||
</el-button>
|
||||
<el-divider direction="vertical" />
|
||||
<el-button type="primary" link @click="toGithub">
|
||||
<span>{{ $t('setting.project') }}</span>
|
||||
</el-button>
|
||||
<el-divider direction="vertical" />
|
||||
</span>
|
||||
<span class="version">{{ $t('setting.currentVersion') + version }}</span>
|
||||
<el-badge is-dot class="item" v-if="version !== 'Waiting' && globalStore.hasNewVersion">
|
||||
@ -103,6 +107,10 @@ const toForum = () => {
|
||||
window.open('https://bbs.fit2cloud.com/c/1p/7', '_blank');
|
||||
};
|
||||
|
||||
const toGithub = () => {
|
||||
window.open('https://github.com/1Panel-dev/1Panel', '_blank', 'noopener,noreferrer');
|
||||
};
|
||||
|
||||
const onLoadUpgradeInfo = async () => {
|
||||
loading.value = true;
|
||||
await loadUpgradeInfo()
|
||||
|
Loading…
Reference in New Issue
Block a user