We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.7.2
MAC OS 10.14 / Google Chrome 73
2.6.10
https://codepen.io/panhezeng/pen/eoZVwW
用官方最基本的示例就能重现。 设置:row-style="getRowStyle" methods: { // 每行的样式 getRowStyle({ row }) { return { display: "none" }; } } 没有隐藏行。看生成代码, tr上面出现了style,但是值为空。 2.7.0之前的版本是好的。
设置:row-style="getRowStyle" methods: { // 每行的样式 getRowStyle({ row }) { return { display: "none" }; } } 隐藏行
没有隐藏行。
The text was updated successfully, but these errors were encountered:
Translation of this issue:
The most basic official examples can be reproduced.
Settings: row-style= "getRowStyle" Methods: {
// Style of each line GetRowStyle ({row}){
Return {display: `none'}; }
} There are no hidden rows. Look at the generated code, <tr class="el-table__row" style="> tr has style above it, but the value is empty.
The version before 2.7.0 is good.
} Hidden rows
There are no hidden rows.
Sorry, something went wrong.
ziyoung
No branches or pull requests
Element UI version
2.7.2
OS/Browsers version
MAC OS 10.14 / Google Chrome 73
Vue version
2.6.10
Reproduction Link
https://codepen.io/panhezeng/pen/eoZVwW
Steps to reproduce
用官方最基本的示例就能重现。
设置:row-style="getRowStyle"
methods: {
// 每行的样式
getRowStyle({ row }) {
return { display: "none" };
}
}
没有隐藏行。看生成代码, tr上面出现了style,但是值为空。
2.7.0之前的版本是好的。
What is Expected?
设置:row-style="getRowStyle"
methods: {
// 每行的样式
getRowStyle({ row }) {
return { display: "none" };
}
}
隐藏行
What is actually happening?
没有隐藏行。
The text was updated successfully, but these errors were encountered: