瀏覽代碼

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

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() {
         function loadChapterProperty() {
             SpreadJsObj.loadSheetData(spread.getActiveSheet(), SpreadJsObj.DataType.Data, property.chapter);
             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) {
         function setReadOnly(readOnly) {