Sfoglia il codice sorgente

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

MaiXinRong 6 anni fa
parent
commit
c0dcdcb10e
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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) {