Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Update About.vue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Jun 12, 2019
1 parent 3ceefa6 commit e6af9ec
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 27 deletions.
12 changes: 0 additions & 12 deletions src/api/main.js

This file was deleted.

35 changes: 20 additions & 15 deletions src/views/system/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<a-popconfirm
slot="extra"
placement="left"
okText=""
cancelText=""
okText="确定"
cancelText="取消"
@confirm="confirmUpdate"
>
<template slot="title">
<p>确认更新 <b>Halo admin</b> 吗?</p>
<p>确定更新 <b>Halo admin</b> 吗?</p>
</template>
<a-icon
type="cloud-download"
Expand All @@ -32,7 +32,8 @@
</a-popconfirm>

<ul>
<li>版本:{{ environments.version }}</li>
<li>Server 版本:{{ environments.version }}</li>
<li>Admin 版本:{{ adminVersion }}</li>
<li>数据库:{{ environments.database }}</li>
<li>运行模式:{{ environments.mode }}</li>
<li>启动时间:{{ environments.startTime | moment }}</li>
Expand All @@ -59,18 +60,23 @@
title="开发者"
:bordered="false"
>
<a-tooltip
placement="top"
<a
:href="item.github"
v-for="(item,index) in developers"
:title="item.name"
:key="index"
target="_blank"
>
<a-avatar
size="large"
:src="item.avatar"
:style="{ marginRight: '10px' }"
/>
</a-tooltip>
<a-tooltip
placement="top"
:title="item.name"
>
<a-avatar
size="large"
:src="item.avatar"
:style="{ marginRight: '10px' }"
/>
</a-tooltip>
</a>
</a-card>

<a-card
Expand All @@ -93,11 +99,10 @@

<script>
import adminApi from '@/api/admin'
export default {
data() {
return {
version: this.VERSION,
adminVersion: this.VERSION,
environments: {},
developers: [
{
Expand Down

0 comments on commit e6af9ec

Please sign in to comment.