diff --git a/vue/src/router/index.js b/vue/src/router/index.js index 9a838a5..60b8bda 100644 --- a/vue/src/router/index.js +++ b/vue/src/router/index.js @@ -6,8 +6,9 @@ import Profile from '../system/Profile.vue' import Display from '../system/GraphDemo.vue' import Builder from '../system/GraphBuilder.vue' import Style from '../system/GraphStyle.vue' -import Data from '../system/KGData.vue' import QA from '../system/GraphQA.vue' +import KGData from '../system/KGData.vue' + const routes = [ { path: '/', @@ -61,13 +62,11 @@ const routes = [ name: 'QA', component: QA }, - { path: '/kg-data', - name: 'Data', - component: Data + name: 'KGData', + component: KGData }, - ] const router = createRouter({ diff --git a/vue/src/system/GraphDemo.vue b/vue/src/system/GraphDemo.vue index 8528aa3..2814c41 100644 --- a/vue/src/system/GraphDemo.vue +++ b/vue/src/system/GraphDemo.vue @@ -1096,30 +1096,7 @@ button:hover { .disease-body::-webkit-scrollbar { display: none; /* Webkit browsers */ } -.disease-header { - padding: 16px; - border-radius: 8px; - display: flex; - justify-content: space-between; - align-items: center; -} - -.d-title { - font-size: 18px; - display: flex; - align-items: center; -} - -.d-title .d-icon { - width: 20px; - height: 20px; - margin-right: 8px; -} -.d-count { - font-size: 16px; - color: #888; -} /* 动态给每个 el-radio 设置不同的背景颜色 */ .radio-disease .el-radio__label {