Commit 3a2a0d56 authored by 刘殿昕's avatar 刘殿昕

数据分析小改

parent 3fa995d1
......@@ -579,8 +579,10 @@ export default {
.then(response => {
if (response.data.success == 1) {
this.toplistData = response.data.data;
if (this.toplistData && this.toplistData.length != 0) {
this.toplistTargetValue = this.toplistData[0].request_count;
}
}
});
},
getServiceOnlineState() {
......@@ -601,7 +603,9 @@ export default {
})
.then(response => {
if (response.data.success == 1) {
this.commentlistData = response.data.data;
this.commentlistData = response.data.data.concat(
this.commentlistData
);
this.last_id = this.commentlistData[0].last_id;
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment