ソースを参照

监测表sheet的变化

zhou1577692533 1 週間 前
コミット
02d3e01c6e
1 ファイル変更1 行追加1 行削除
  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;