修复 Echart 编译页报错

This commit is contained in:
2betop 2021-01-19 14:17:51 +08:00
parent 0f7241d7ac
commit 11a0368b07

View File

@ -7,7 +7,7 @@ import example from './EChartsEditor/Example';
import {lazyData} from './LazyData';
import React from 'react';
import {Spinner} from '../../src';
import Spinner from '../../src/components/Spinner';
const LazyComponent = lazyData(
async () =>
@ -127,7 +127,7 @@ export default {
columnClassName: 'pl-0.5 pr-1',
controls: [
{
children: (props: any) => {
component(props: any) {
return (
<React.Suspense
fallback={