Authored by 陈峰

解决channel model字段查空判断

... ... @@ -133,7 +133,7 @@ const _getChannelResource = (params) => {
return api.get('operations/api/v5/resource/home', params, {
cache: true
}).then(result => {
if (result && result.code === 200) {
if (result && result.code === 200 && result.data && result.data.list) {
for (let item of result.data.list) {
item.template_name === 'single_image' &&
item.data.length === 1 &&
... ...