xujunjie 1 жил өмнө
parent
commit
9621a3f599

+ 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);
       });