centaline-data-driven 1.2.68 → 1.2.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -927,9 +927,11 @@
|
|
|
927
927
|
let self=this;
|
|
928
928
|
let rowRouterShow=[];
|
|
929
929
|
self.model.rowRouter.forEach((v) => {
|
|
930
|
-
if
|
|
931
|
-
if(
|
|
932
|
-
rowRouterShow.
|
|
930
|
+
if(v.show){
|
|
931
|
+
if (!v.rightField || row[v.rightField] == 1) {
|
|
932
|
+
if(rowRouterShow.length<self.model.rowMenuDisplayCount){
|
|
933
|
+
rowRouterShow.push(v);
|
|
934
|
+
}
|
|
933
935
|
}
|
|
934
936
|
}
|
|
935
937
|
});
|
|
@@ -940,10 +942,12 @@
|
|
|
940
942
|
let rowRouterDisplay=[];
|
|
941
943
|
let i=0;
|
|
942
944
|
self.model.rowRouter.forEach((v) => {
|
|
943
|
-
if
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
945
|
+
if(v.show){
|
|
946
|
+
if (!v.rightField || row[v.rightField] == 1) {
|
|
947
|
+
i=i+1;
|
|
948
|
+
if(i>self.model.rowMenuDisplayCount){
|
|
949
|
+
rowRouterDisplay.push(v);
|
|
950
|
+
}
|
|
947
951
|
}
|
|
948
952
|
}
|
|
949
953
|
});
|