mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
修复 Echart 编译页报错
This commit is contained in:
parent
0f7241d7ac
commit
11a0368b07
@ -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={
|
||||
|
Loading…
Reference in New Issue
Block a user