Преглед изворни кода

标段属性,章节设置,取消输入后,应去掉提示信息

MaiXinRong пре 6 година
родитељ
комит
c0dcdcb10e
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      app/public/js/tender.js

+ 4 - 0
app/public/js/tender.js

@@ -215,6 +215,10 @@ $(document).ready(function() {
 
         function loadChapterProperty() {
             SpreadJsObj.loadSheetData(spread.getActiveSheet(), SpreadJsObj.DataType.Data, property.chapter);
+            $('#hint-6').hide();
+            const sheet = spread.getActiveSheet();
+            const defaultStype = sheet.getDefaultStyle();
+            sheet.getRange(0, 0, sheet.getRowCount(), sheet.getColumnCount()).backColor(defaultStype.backColor);
         }
 
         function setReadOnly(readOnly) {