Explorar el Código

设置公式刷新时机

xujunjie hace 1 año
padre
commit
1fb2c85430
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/pages/Detail/LuckySheet.js

+ 3 - 1
src/pages/Detail/LuckySheet.js

@@ -140,7 +140,9 @@ class LuckySheet extends React.Component {
           }, 100);
         },
         workbookCreateAfter: options => {
-          this.luckysheet.refreshFormula();
+          setTimeout(() => {
+            this.luckysheet.refreshFormula();
+          }, 800);
         },
       },
     };