Commit f6f61bcb authored by lirilsu's avatar lirilsu Committed by 杨奕

Table: Add class to expanded row

parent f3476576
...@@ -295,6 +295,10 @@ export default { ...@@ -295,6 +295,10 @@ export default {
classes.push(rowClassName.call(null, row, index) || ''); classes.push(rowClassName.call(null, row, index) || '');
} }
if (this.store.states.expandRows.indexOf(row) > -1) {
classes.push('expanded');
}
return classes.join(' '); return classes.join(' ');
}, },
......
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