From 02bf7838fb54a246f876d0a1700d7dcce161e2b1 Mon Sep 17 00:00:00 2001
From: zhangchunxu <1842059105@qq.com>
Date: 星期六, 05 八月 2023 20:17:02 +0800
Subject: [PATCH] 侧边栏  “营业管理自定义链接”修改

---
 force-app/main/default/staticresources/RelationListPagingCmpJS.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/staticresources/RelationListPagingCmpJS.js b/force-app/main/default/staticresources/RelationListPagingCmpJS.js
index 461a428..ffe2bb4 100644
--- a/force-app/main/default/staticresources/RelationListPagingCmpJS.js
+++ b/force-app/main/default/staticresources/RelationListPagingCmpJS.js
@@ -378,8 +378,12 @@
         // j$('div#in_Div').css('width', (blockWidth + sbwidth) + 'px');
         // 20230704 ljh start
         if(blockWidth > 1000){
-            j$('div#out_Div').css('width', (blockWidth) + 'px');
-            j$('div#in_Div').css('width', (blockWidth) + 'px');
+            // j$('div#out_Div').css('width', (blockWidth) + 'px');
+            // j$('div#in_Div').css('width', (blockWidth) + 'px');
+            if (j$('table#tableData').width() > j$('div#in_Div').width()) {
+                j$('div#out_Div').css('width', (blockWidth) + 'px');
+                j$('div#in_Div').css('width', (blockWidth) + 'px');
+            }
         }else{
             j$('table#tableData').css('width', (blockWidth) + 'px');
             j$('table#tableHeader').css('width', (blockWidth) + 'px');

--
Gitblit v1.9.1