diff --git a/package.json b/package.json index 0eeafef2..a48b78ef 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "build": "vite build" }, "dependencies": { - "@antv/g6": "^4.1.16", "axios": "^0.21.1", "clipboard": "^2.0.6", "countup.js": "^2.0.7", @@ -37,4 +36,4 @@ "typescript": "^4.2.3", "vite": "^2.0.5" } -} +} \ No newline at end of file diff --git a/src/utils/setIconfont.ts b/src/utils/setIconfont.ts index 9f3dcde1..0f26d9a9 100644 --- a/src/utils/setIconfont.ts +++ b/src/utils/setIconfont.ts @@ -4,7 +4,9 @@ const cssCdnUrlList: Array = [ '//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' ] // 第三方 js url -const jsCdnUrlList: Array = [] +const jsCdnUrlList: Array = [ + 'https://gw.alipayobjects.com/os/antv/pkg/_antv.g6-3.8.1/dist/g6.min.js' +] // 动态设置字体图标 export function setCssCdn() { diff --git a/src/views/fun/mindMap/index.vue b/src/views/fun/mindMap/index.vue index b1fda678..62a72370 100644 --- a/src/views/fun/mindMap/index.vue +++ b/src/views/fun/mindMap/index.vue @@ -8,7 +8,6 @@ - - \ No newline at end of file + \ No newline at end of file