Commit ff45f88d authored by 武广's avatar 武广

Merge branch 'feature/group-meal' of git.quantgroup.cn:ui/merchant-manage-ui into feature/meal-3.0

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