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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.2.68",
3
+ "version": "1.2.69",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -927,9 +927,11 @@
927
927
  let self=this;
928
928
  let rowRouterShow=[];
929
929
  self.model.rowRouter.forEach((v) => {
930
- if (!v.rightField || row[v.rightField] == 1) {
931
- if(rowRouterShow.length<self.model.rowMenuDisplayCount){
932
- rowRouterShow.push(v);
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 (!v.rightField || row[v.rightField] == 1) {
944
- i=i+1;
945
- if(i>self.model.rowMenuDisplayCount){
946
- rowRouterDisplay.push(v);
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
  });