|
@@ -1,5 +1,6 @@
|
|
|
import react, { useRef } from 'react';
|
|
|
import LuckyExcel from 'luckyexcel';
|
|
|
+import { message } from 'antd';
|
|
|
|
|
|
function Index() {
|
|
|
const sheetRef = useRef();
|
|
@@ -70,6 +71,9 @@ function Index() {
|
|
|
cellMousedown: (cell, position, sheet) => {
|
|
|
console.log(cell, position, sheet);
|
|
|
},
|
|
|
+ cellUpdated: () => {
|
|
|
+ luckysheetRef.current.refreshFormula();
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
|