diff --git a/packages/gi-sdk-app/src/index.tsx b/packages/gi-sdk-app/src/index.tsx index 16bd5baab..1c0550664 100644 --- a/packages/gi-sdk-app/src/index.tsx +++ b/packages/gi-sdk-app/src/index.tsx @@ -17,6 +17,7 @@ export interface Project { id: string; name: string; projectConfig: {}; + config: {}; themes: {}; theme?: string; }; @@ -53,8 +54,8 @@ const Studio: React.FunctionComponent = props => { service, loadingText = '正在加载图应用...', loadingComponent, - GISDKExtraParams, - componentExtraParams, + GISDKExtraParams = {}, + componentExtraParams = {}, } = props; const [state, setState] = React.useState({ isReady: false, @@ -139,6 +140,7 @@ const Studio: React.FunctionComponent = props => { {/** @ts-ignore */}