实现公告获取和输出

This commit is contained in:
F嘉阳
2018-02-26 11:20:02 +08:00
parent b1db4a4944
commit b652389d4e
7 changed files with 87 additions and 27 deletions

View File

@@ -93,6 +93,20 @@ var Main = {
activeName: 'login',
fileList: [],
DownloadList: [],
NoticeList:[
{
noticeid: 1,
adminid: 1,
noticeContent: "系统正式上线Alpha测试版",
issueTime: "2018-2-26 11:00"
},
{
noticeid: 2,
adminid: 1,
noticeContent: "系统,测试",
issueTime: "2018-2-26 11:13"
}
],
VersionList:[
{
date:'2018-02-24',
@@ -371,6 +385,15 @@ var Main = {
.catch(function (error) {
console.log(error);
});
axios.get(getRootPath_web()+'/home/findAllNotice')
.then(function (response) {
console.log(response.data);
that.NoticeList = response.data;
//that.limitTime = response.data;
})
.catch(function (error) {
console.log(error);
});
})
},
methods: {