Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit e6af9ec

Browse files
committed
Update About.vue.
1 parent 3ceefa6 commit e6af9ec

File tree

2 files changed

+20
-27
lines changed

2 files changed

+20
-27
lines changed

src/api/main.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/views/system/About.vue

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<a-popconfirm
1212
slot="extra"
1313
placement="left"
14-
okText=""
15-
cancelText=""
14+
okText="确定"
15+
cancelText="取消"
1616
@confirm="confirmUpdate"
1717
>
1818
<template slot="title">
19-
<p>确认更新 <b>Halo admin</b> 吗?</p>
19+
<p>确定更新 <b>Halo admin</b> 吗?</p>
2020
</template>
2121
<a-icon
2222
type="cloud-download"
@@ -32,7 +32,8 @@
3232
</a-popconfirm>
3333

3434
<ul>
35-
<li>版本:{{ environments.version }}</li>
35+
<li>Server 版本:{{ environments.version }}</li>
36+
<li>Admin 版本:{{ adminVersion }}</li>
3637
<li>数据库:{{ environments.database }}</li>
3738
<li>运行模式:{{ environments.mode }}</li>
3839
<li>启动时间:{{ environments.startTime | moment }}</li>
@@ -59,18 +60,23 @@
5960
title="开发者"
6061
:bordered="false"
6162
>
62-
<a-tooltip
63-
placement="top"
63+
<a
64+
:href="item.github"
6465
v-for="(item,index) in developers"
65-
:title="item.name"
6666
:key="index"
67+
target="_blank"
6768
>
68-
<a-avatar
69-
size="large"
70-
:src="item.avatar"
71-
:style="{ marginRight: '10px' }"
72-
/>
73-
</a-tooltip>
69+
<a-tooltip
70+
placement="top"
71+
:title="item.name"
72+
>
73+
<a-avatar
74+
size="large"
75+
:src="item.avatar"
76+
:style="{ marginRight: '10px' }"
77+
/>
78+
</a-tooltip>
79+
</a>
7480
</a-card>
7581

7682
<a-card
@@ -93,11 +99,10 @@
9399

94100
<script>
95101
import adminApi from '@/api/admin'
96-
97102
export default {
98103
data() {
99104
return {
100-
version: this.VERSION,
105+
adminVersion: this.VERSION,
101106
environments: {},
102107
developers: [
103108
{

0 commit comments

Comments
 (0)