This commit is contained in:
parent
6e26e29cda
commit
65d405eb3c
|
|
@ -5,6 +5,6 @@ export function Homeview(data) {
|
||||||
return request({
|
return request({
|
||||||
url: url,
|
url: url,
|
||||||
method: "get",
|
method: "get",
|
||||||
data
|
params: data
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initHomeData() {
|
initHomeData() {
|
||||||
Homeview().then((res) => {
|
Homeview({ time: new Date() }).then((res) => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.homeData = res.data;
|
this.homeData = res.data;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue