Commit 5aba10ba authored by 武广's avatar 武广

fix: 修改企业客户报错问题

parent f8c96d7c
......@@ -85,8 +85,11 @@ export const customerColumn = options => {
align: 'center',
hideInSearch: true,
render(types) {
const arr = types.map(meal => mealType[meal]);
return arr.join('/');
if (types && types.length && typeof types === 'object') {
const arr = types.map(meal => mealType[meal]);
return arr.join('/');
}
return '-';
},
},
{
......
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