mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-20 23:50:28 +00:00
feat: save display JSON result
This commit is contained in:
parent
9586b6071b
commit
5afd388643
@ -8,6 +8,7 @@ import { PluginProps } from '../../framework/definitions';
|
|||||||
const Save: React.FC<PluginProps> = (props): React.ReactElement => {
|
const Save: React.FC<PluginProps> = (props): React.ReactElement => {
|
||||||
const handleClick = (): void => {
|
const handleClick = (): void => {
|
||||||
console.log('save data:', props.editor.designer.currentDocument.schema);
|
console.log('save data:', props.editor.designer.currentDocument.schema);
|
||||||
|
console.log('save data json:', JSON.stringify(props.editor.designer.currentDocument.schema));
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user