|
|
@@ -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;
|