Explorar o código

监测表sheet的变化

zhou1577692533 hai 1 semana
pai
achega
02d3e01c6e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/App.tsx

+ 1 - 1
src/components/App.tsx

@@ -194,7 +194,7 @@ function App() {
     });
 
     if (typeof Dingdocs !== 'undefined' && Dingdocs?.base?.event?.onSelectionChanged) {
-      let currentSheetId = null;
+      let currentSheetId: string | null = null;
       Dingdocs.base.event.onSelectionChanged((event: any) => {
         if (event.sheetId !== currentSheetId) {
           currentSheetId = event.sheetId;