瀏覽代碼

树结构单元格超出列宽

zhongzewei 7 年之前
父節點
當前提交
ca17ec125d

+ 2 - 2
web/building_saas/main/js/views/project_property_basicInfo.js

@@ -350,8 +350,8 @@ let basicInfoView = {
                     offset= drowSubItem(ctx,x,y,w,h,offset,data[options.row+1]);
                     offset+=1;
                 }
-                x = x + offset;
-                w = w - offset;
+                arguments[2] = x + offset;
+                arguments[4] = w - offset;
                 GC.Spread.Sheets.CellTypes.Text.prototype.paint.apply(this, arguments);
 
             }

+ 2 - 2
web/building_saas/main/js/views/project_property_projFeature.js

@@ -357,8 +357,8 @@ let projFeatureView = {
                     offset= drowSubItem(ctx,x,y,w,h,offset,data[options.row+1]);
                     offset+=1;
                 }
-                x = x + offset;
-                w = w - offset;
+                arguments[2] = x + offset;
+                arguments[4] = w - offset;
                 GC.Spread.Sheets.CellTypes.Text.prototype.paint.apply(this, arguments);
             }
         };