diff --git a/packages/gi-sdk/.umirc.ts b/packages/gi-sdk/.umirc.ts index 660efa907..a500937b7 100644 --- a/packages/gi-sdk/.umirc.ts +++ b/packages/gi-sdk/.umirc.ts @@ -10,7 +10,8 @@ export default { scripts: [ 'https://gw.alipayobjects.com/os/lib/react/17.0.2/umd/react.development.js', 'https://gw.alipayobjects.com/os/lib/react-dom/17.0.2/umd/react-dom.development.js', - 'https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.20/dist/g6.min.js', + // 'https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.20/dist/g6.min.js', + "http://127.0.0.1:9001/g6.min.js", 'https://gw.alipayobjects.com/os/lib/antd/4.24.14/dist/antd.min.js', ], }; diff --git a/packages/gi-site/.umirc.ts b/packages/gi-site/.umirc.ts index 22205ff67..9910e24a6 100644 --- a/packages/gi-site/.umirc.ts +++ b/packages/gi-site/.umirc.ts @@ -35,7 +35,8 @@ const EXTRA_CONFIG = isDev 'https://gw.alipayobjects.com/os/lib/react-dom/17.0.2/umd/react-dom.production.min.js', 'https://gw.alipayobjects.com/os/lib/lodash/4.17.21/lodash.min.js', 'https://gw.alipayobjects.com/os/lib/antd/4.24.8/dist/antd.min.js', - `https://gw.alipayobjects.com/os/lib/antv/g6/${G6_VERSION}/dist/g6.min.js`, + // `https://gw.alipayobjects.com/os/lib/antv/g6/${G6_VERSION}/dist/g6.min.js`, + "http://127.0.0.1:9001/g6.min.js", // `https://gw.alipayobjects.com/os/lib/antv/graphin/${GRAPHIN_VERSION}/dist/graphin.min.js`, 'https://gw.alipayobjects.com/os/lib/antv/gi-sdk-app/1.0.5/dist/index.min.js', ], diff --git a/packages/graphin/.umirc.ts b/packages/graphin/.umirc.ts index 018c25e75..03e3acf2a 100644 --- a/packages/graphin/.umirc.ts +++ b/packages/graphin/.umirc.ts @@ -10,7 +10,8 @@ export default { scripts: [ 'https://gw.alipayobjects.com/os/lib/react/17.0.2/umd/react.development.js', 'https://gw.alipayobjects.com/os/lib/react-dom/17.0.2/umd/react-dom.development.js', - 'https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.20/dist/g6.min.js', + // 'https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.20/dist/g6.min.js', + "http://127.0.0.1:9001/g6.min.js", 'https://gw.alipayobjects.com/os/lib/antd/4.24.14/dist/antd.min.js', ], };