较少前端数据预读取量,提高访问速度

This commit is contained in:
2018-05-01 17:06:41 +08:00
parent 47a926e97d
commit 3e18c8e4ff
2 changed files with 9 additions and 4 deletions

View File

@@ -196,6 +196,12 @@ var Main = {
.catch(function (error) {
console.log(error);
});
})
},
methods: {
showVersion(){
let that = this;
axios.get(getRootPath_web() + '/home/findallversion')
.then(function (response) {
console.log(response.data);
@@ -205,9 +211,8 @@ var Main = {
.catch(function (error) {
console.log(error);
});
})
},
methods: {
this.dialogTableVisible = true;
},
getFileList() {
let that = this;
axios.get(getRootPath_web() + '/home/download/findone')

View File

@@ -41,7 +41,7 @@
<li><strong>代码开发 </strong>符嘉阳</li>
</ul>
<br>
<el-button type="text" @click="dialogTableVisible = true">查看更新日志</el-button>
<el-button type="text" @click="showVersion()">查看更新日志</el-button>
<el-dialog title="GitLab更新日志"
:visible.sync="dialogTableVisible"