pull/3445/head
ruibaby 2019-06-12 11:50:04 +08:00
commit f7ea153511
2 changed files with 11 additions and 6 deletions

View File

@ -462,12 +462,16 @@ export default {
},
handleFetching() {
this.fetchButtonLoading = true
themeApi.fetching(this.fetchingUrl).then(response => {
this.$message.success('拉取成功!')
this.uploadVisible = false
this.fetchButtonLoading = false
this.loadThemes()
})
themeApi
.fetching(this.fetchingUrl)
.then(response => {
this.$message.success('拉取成功!')
this.uploadVisible = false
this.loadThemes()
})
.finally(() => {
this.fetchButtonLoading = false
})
},
handleReload() {
themeApi.reload().then(response => {

View File

@ -14,6 +14,7 @@
<ul>
<li>版本{{ environments.version }}</li>
<li>数据库{{ environments.database }}</li>
<li>运行模式{{ environments.mode }}</li>
<li>启动时间{{ environments.startTime | moment }}</li>
</ul>
<a