diff --git a/build/utils.ts b/build/utils.ts
index 27df7a3..588b2bb 100644
--- a/build/utils.ts
+++ b/build/utils.ts
@@ -3,8 +3,7 @@ import dotenv from 'dotenv'
export interface ViteEnv {
VITE_PORT: number,
VITE_OPEN: boolean,
- VITE_PUBLIC_PATH: string,
- VITE_LOCAL_PATH: string
+ VITE_PUBLIC_PATH: string
}
export function loadEnv(): ViteEnv {
diff --git a/src/App.vue b/src/App.vue
index ae0e55e..3338fdb 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -41,6 +41,7 @@ export default {
// 设置批量第三方 js
setIntroduction.jsCdn();
});
+ // 页面加载时
onMounted(() => {
nextTick(() => {
// 监听布局配置弹窗点击打开
diff --git a/src/router/index.ts b/src/router/index.ts
index a107b45..1e86444 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -346,6 +346,21 @@ export const dynamicRoutes = [
auth: ['admin', 'test'],
icon: 'el-icon-odometer'
}
+ },
+ {
+ path: '/fun/relationGraph',
+ name: 'relationGraph',
+ component: () => import('/@/views/fun/relationGraph/index.vue'),
+ meta: {
+ title: 'graph 关系图谱',
+ isLink: '',
+ isHide: false,
+ isKeepAlive: true,
+ isAffix: false,
+ isIframe: false,
+ auth: ['admin', 'test'],
+ icon: 'el-icon-connection'
+ }
}
]
},
diff --git a/src/views/fun/graph/index.vue b/src/views/fun/graph/index.vue
new file mode 100644
index 0000000..9afe653
--- /dev/null
+++ b/src/views/fun/graph/index.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
\ No newline at end of file