mirror of https://github.com/halo-dev/halo
Merge branch 'master' of https://github.com/halo-dev/halo-admin
commit
f7ea153511
|
@ -462,12 +462,16 @@ export default {
|
||||||
},
|
},
|
||||||
handleFetching() {
|
handleFetching() {
|
||||||
this.fetchButtonLoading = true
|
this.fetchButtonLoading = true
|
||||||
themeApi.fetching(this.fetchingUrl).then(response => {
|
themeApi
|
||||||
|
.fetching(this.fetchingUrl)
|
||||||
|
.then(response => {
|
||||||
this.$message.success('拉取成功!')
|
this.$message.success('拉取成功!')
|
||||||
this.uploadVisible = false
|
this.uploadVisible = false
|
||||||
this.fetchButtonLoading = false
|
|
||||||
this.loadThemes()
|
this.loadThemes()
|
||||||
})
|
})
|
||||||
|
.finally(() => {
|
||||||
|
this.fetchButtonLoading = false
|
||||||
|
})
|
||||||
},
|
},
|
||||||
handleReload() {
|
handleReload() {
|
||||||
themeApi.reload().then(response => {
|
themeApi.reload().then(response => {
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>版本:{{ environments.version }}</li>
|
<li>版本:{{ environments.version }}</li>
|
||||||
<li>数据库:{{ environments.database }}</li>
|
<li>数据库:{{ environments.database }}</li>
|
||||||
|
<li>运行模式:{{ environments.mode }}</li>
|
||||||
<li>启动时间:{{ environments.startTime | moment }}</li>
|
<li>启动时间:{{ environments.startTime | moment }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a
|
<a
|
||||||
|
|
Loading…
Reference in New Issue