|
|
@@ -22,7 +22,8 @@ import ButtonGroup from '@mui/material/ButtonGroup';
|
|
|
import {danxiangdinge_index} from './utils';
|
|
|
import {shanchu, undo, redo, quanbushanchu, danxiangdinge, updateDercj} from './editor';
|
|
|
import { ConfigValueTooSmallError, HyperFormula } from 'hyperformula';
|
|
|
-
|
|
|
+import Backdrop from '@mui/material/Backdrop';
|
|
|
+import CircularProgress from '@mui/material/CircularProgress';
|
|
|
registerAllModules();
|
|
|
|
|
|
|
|
|
@@ -43,7 +44,7 @@ function copy(input) {
|
|
|
|
|
|
|
|
|
|
|
|
-export default function Qingdan({name, bh, bt, rgde, jxde, clde, beizhu, clickCallback}) {
|
|
|
+export default function Qingdan({name, bh, bt, rgde, jxde, clde, beizhu, clickCallback, loadingCallback}) {
|
|
|
const hyperformulaInstance = HyperFormula.buildEmpty({
|
|
|
// to use an external HyperFormula instance,
|
|
|
// initialize it with the `'internal-use-in-handsontable'` license key
|
|
|
@@ -514,6 +515,12 @@ export default function Qingdan({name, bh, bt, rgde, jxde, clde, beizhu, clickCa
|
|
|
|
|
|
}}
|
|
|
>重做</Button>
|
|
|
+ <Button variant="outlined" onClick={() => {
|
|
|
+ console.log("save to cloud");
|
|
|
+ loadingCallback();
|
|
|
+
|
|
|
+ }}
|
|
|
+ >保存</Button>
|
|
|
|
|
|
|
|
|
</Stack>
|
|
|
@@ -682,6 +689,9 @@ export default function Qingdan({name, bh, bt, rgde, jxde, clde, beizhu, clickCa
|
|
|
</TabContext>
|
|
|
</Box>
|
|
|
</Stack>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|