ソースを参照

隐藏的sheet不显示

xujunjie 1 年間 前
コミット
9621a3f599
2 ファイル変更3 行追加1 行削除
  1. 1 1
      src/controllers/sheetBar.js
  2. 2 0
      src/core.js

+ 1 - 1
src/controllers/sheetBar.js

@@ -801,7 +801,7 @@ export function initialSheetBar() {
 			}
 
 			if (f['hide'] == 1) {
-				// break;
+				break;
 				icon = '<i class="fa fa-low-vision" aria-hidden="true"></i>';
 				style += 'color:#BBBBBB;';
 			}

+ 2 - 0
src/core.js

@@ -180,6 +180,8 @@ luckysheet.create = function(setting) {
   } else {
     $.post(loadurl, { gridKey: server.gridKey }, function(d) {
       let data = new Function("return " + d)();
+      console.log('====================================================')
+      console.log(data)
       data.forEach((sheet) => {
         initSheet(sheet, authority, setting.permissions);
       });