diff --git a/packages/gi-assets-advance/package.json b/packages/gi-assets-advance/package.json index 4fae765a0..fb3b32330 100644 --- a/packages/gi-assets-advance/package.json +++ b/packages/gi-assets-advance/package.json @@ -1,6 +1,6 @@ { "name": "@antv/gi-assets-advance", - "version": "2.5.5", + "version": "2.5.6", "description": "G6VP 高级资产包", "main": "lib/index.js", "module": "es/index.js", diff --git a/packages/gi-assets-algorithm/package.json b/packages/gi-assets-algorithm/package.json index 9532b1d6f..f9d1d0a61 100644 --- a/packages/gi-assets-algorithm/package.json +++ b/packages/gi-assets-algorithm/package.json @@ -1,6 +1,6 @@ { "name": "@antv/gi-assets-algorithm", - "version": "2.3.5", + "version": "2.3.6", "description": "G6VP 图分析算法资产库", "repository": { "type": "git", diff --git a/packages/gi-assets-basic/package.json b/packages/gi-assets-basic/package.json index 84984bc2e..fae7ae585 100644 --- a/packages/gi-assets-basic/package.json +++ b/packages/gi-assets-basic/package.json @@ -1,6 +1,6 @@ { "name": "@antv/gi-assets-basic", - "version": "2.4.7", + "version": "2.4.8", "description": "G6VP 基础资产包", "main": "lib/index.js", "module": "es/index.js", diff --git a/packages/gi-assets-scene/package.json b/packages/gi-assets-scene/package.json index cce45f32a..229343bdd 100644 --- a/packages/gi-assets-scene/package.json +++ b/packages/gi-assets-scene/package.json @@ -1,6 +1,6 @@ { "name": "@antv/gi-assets-scene", - "version": "2.2.6", + "version": "2.2.7", "description": "G6VP 基础模版包", "main": "lib/index.js", "module": "es/index.js", diff --git a/packages/gi-sdk-app/package.json b/packages/gi-sdk-app/package.json index 2ed64126a..497fb39dd 100644 --- a/packages/gi-sdk-app/package.json +++ b/packages/gi-sdk-app/package.json @@ -1,6 +1,6 @@ { "name": "@antv/gi-sdk-app", - "version": "1.0.4", + "version": "1.1.1", "description": "", "main": "index.js", "scripts": { diff --git a/packages/gi-sdk-app/src/index.tsx b/packages/gi-sdk-app/src/index.tsx index faa355171..60a8af398 100644 --- a/packages/gi-sdk-app/src/index.tsx +++ b/packages/gi-sdk-app/src/index.tsx @@ -60,8 +60,14 @@ const Studio: React.FunctionComponent = props => { const { dataset, workbook, GI_ASSETS_PACKAGES, deps } = data; const { projectConfig, theme = 'light' } = workbook; const { engineContext } = dataset; + const { Graphin: Graphin_DEP, GISDK: GISDK_DEP, ...FirstDeps } = deps; // 请求依赖资源包 - await loader(Object.values(deps)); + await loader(Object.values(FirstDeps)); + // Graphin + await loader([Graphin_DEP]); + // GISDK + await loader([GISDK_DEP]); + //@ts-ignore const { default: GISDK, utils } = window.GISDK; // 根据包名,请求资产