xujunjie hace 2 años
padre
commit
86c7a3dbf9
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/core.js

+ 3 - 0
src/core.js

@@ -190,6 +190,9 @@ luckysheet.create = function(setting) {
         let data = new Function("return " + d)();
         let sheet = data[0];
         let cache = {};
+        if(sheet.config) {
+          delete sheet.config.authority
+        }
         sheet.celldata.forEach((item) => {
           if (!cache[item.c]) cache[item.c] = [];
           cache[item.c].push(item);