diff --git a/packages/react/src/components/Workbook/index.tsx b/packages/react/src/components/Workbook/index.tsx index 6f70ba2..d9d5a97 100644 --- a/packages/react/src/components/Workbook/index.tsx +++ b/packages/react/src/components/Workbook/index.tsx @@ -100,8 +100,9 @@ const Workbook = React.forwardRef( // 计算选区的信息 useEffect(() => { const selection = context.luckysheet_select_save; + const { lang } = props; if (selection) { - const re = calcSelectionInfo(context); + const re = calcSelectionInfo(context, lang); setCalInfo(re); } // eslint-disable-next-line react-hooks/exhaustive-deps