From b043ec984a239a629fe987719e82ce3c9294108c Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期四, 25 十一月 2021 14:14:40 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 Pub_Class/CustomerCls/ClsPub.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Pub_Class/CustomerCls/ClsPub.cs b/Pub_Class/CustomerCls/ClsPub.cs
index e18a52c..8114dd5 100644
--- a/Pub_Class/CustomerCls/ClsPub.cs
+++ b/Pub_Class/CustomerCls/ClsPub.cs
@@ -1331,6 +1331,10 @@
         {
             try
             {
+                if(oGrd.RowCount<=1  )
+                {
+                    return;
+                }
                 int Cols;
                 char c = Convert.ToChar(",");
                 string sStr = ClsIni.ReadIni("GridSave", KeyItem, AppPath + @"\" + "grdWidth.wyini");

--
Gitblit v1.9.1