较少前端数据预读取量,提高访问速度
This commit is contained in:
@@ -196,6 +196,12 @@ var Main = {
|
|||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
})
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
showVersion(){
|
||||||
|
let that = this;
|
||||||
axios.get(getRootPath_web() + '/home/findallversion')
|
axios.get(getRootPath_web() + '/home/findallversion')
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
console.log(response.data);
|
console.log(response.data);
|
||||||
@@ -205,9 +211,8 @@ var Main = {
|
|||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
})
|
this.dialogTableVisible = true;
|
||||||
},
|
},
|
||||||
methods: {
|
|
||||||
getFileList() {
|
getFileList() {
|
||||||
let that = this;
|
let that = this;
|
||||||
axios.get(getRootPath_web() + '/home/download/findone')
|
axios.get(getRootPath_web() + '/home/download/findone')
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
<li><strong>代码开发 </strong>符嘉阳</li>
|
<li><strong>代码开发 </strong>符嘉阳</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
<el-button type="text" @click="dialogTableVisible = true">查看更新日志</el-button>
|
<el-button type="text" @click="showVersion()">查看更新日志</el-button>
|
||||||
|
|
||||||
<el-dialog title="GitLab更新日志"
|
<el-dialog title="GitLab更新日志"
|
||||||
:visible.sync="dialogTableVisible"
|
:visible.sync="dialogTableVisible"
|
||||||
|
|||||||
Reference in New Issue
Block a user