提交修改
This commit is contained in:
parent
9e6571b47d
commit
b885687b57
|
@ -124,8 +124,8 @@ export default {
|
||||||
},
|
},
|
||||||
websocketonmessage: function (e) {
|
websocketonmessage: function (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
if (e.length > 0) {
|
if (e.data.length > 0) {
|
||||||
this.contentList.unshift(e);
|
this.contentList.unshift(e.data);
|
||||||
}
|
}
|
||||||
this.getTables()
|
this.getTables()
|
||||||
},
|
},
|
||||||
|
@ -145,7 +145,6 @@ export default {
|
||||||
getAction("/online/getOnlineLinkCountData",{}).then((res)=>{
|
getAction("/online/getOnlineLinkCountData",{}).then((res)=>{
|
||||||
if(res.success){
|
if(res.success){
|
||||||
Object.keys(res.result).forEach(function(key){
|
Object.keys(res.result).forEach(function(key){
|
||||||
console.log(res.result[key])
|
|
||||||
t.totalNumberCataloguesData.push([key, parseInt(res.result[key])])
|
t.totalNumberCataloguesData.push([key, parseInt(res.result[key])])
|
||||||
});
|
});
|
||||||
t.gettotalNumberCatalogues();
|
t.gettotalNumberCatalogues();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user