|
@@ -120,8 +120,9 @@ const initPageData = async () => {
|
|
|
const tempColumns = [];
|
|
|
|
|
|
arr.forEach((item, index) => {
|
|
|
- const [k1, k2] = item;
|
|
|
- const isExits = rows.some((val) => val[k1] && val[k2]);
|
|
|
+ const [k1] = item;
|
|
|
+
|
|
|
+ const isExits = rows.some((val) => val[k1]);
|
|
|
if ( isExits ) {
|
|
|
tempColumns.push(columns[index + 1]);
|
|
|
}
|