Authored by ccbikai

增强数据校验

... ... @@ -15,7 +15,7 @@ let channel = {
cache: true,
code: 200
}).then(result => {
return result.data ? processResources(result.data) : [];
return result && result.data ? processResources(result.data) : [];
});
},
getSidebarData() {
... ...