mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-17 17:40:31 +08:00
set the default value of debugStore and debugEvent to be false
This commit is contained in:
parent
56b22d81e8
commit
f088608fe9
@ -36,7 +36,7 @@ export const DemoWrapper: React.FC<Props> = props => {
|
||||
const { App } = initSunmaoUI({ libs: [ArcoDesignLib] });
|
||||
const [isShowCode, setIsShowCode] = useState(false);
|
||||
|
||||
const sunmaoApp = <App options={application} debugEvent={false} debugStore={false} />;
|
||||
const sunmaoApp = <App options={application} />;
|
||||
|
||||
const codeArea = (
|
||||
<pre className={codeStyle}>{JSON.stringify(application, null, 2)}</pre>
|
||||
|
@ -116,8 +116,6 @@ export const Editor: React.FC<Props> = observer(
|
||||
<ErrorBoundary>
|
||||
<App
|
||||
options={app}
|
||||
debugEvent={false}
|
||||
debugStore={false}
|
||||
gridCallbacks={gridCallbacks}
|
||||
/>
|
||||
</ErrorBoundary>
|
||||
|
@ -18,8 +18,8 @@ export const App: React.FC<AppProps> = props => {
|
||||
options,
|
||||
services,
|
||||
gridCallbacks,
|
||||
debugStore = true,
|
||||
debugEvent = true,
|
||||
debugStore = false,
|
||||
debugEvent = false,
|
||||
hooks,
|
||||
} = props;
|
||||
const runtimeAppSchemaManager = useRef(new RuntimeAppSchemaManager());
|
||||
|
Loading…
Reference in New Issue
Block a user