From ef3f33d33bede854363da611ee9e2abc62ec6399 Mon Sep 17 00:00:00 2001 From: jiang Date: Thu, 17 Oct 2024 17:06:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E8=84=B8=E8=AF=86=E5=88=AB=E4=B8=8E?= =?UTF-8?q?=E5=A4=A7=E6=A8=A1=E5=9E=8B=E9=97=AE=E7=AD=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 4 ++- src/views/dataSet/dataSetCategory/index.vue | 29 ++++++++++++++------- src/views/dataSet/dataSetFile/index.vue | 6 ++--- src/views/dataSet/dataSetModel/index.vue | 25 ++++++++++-------- src/views/home.vue | 10 +++++++ 5 files changed, 49 insertions(+), 25 deletions(-) diff --git a/src/main.js b/src/main.js index 73bd7c1..de4f796 100644 --- a/src/main.js +++ b/src/main.js @@ -15,7 +15,7 @@ import router from './router' import directive from './directive' // directive import plugins from './plugins' // plugins import { download } from '@/utils/request' -import debounce from './directives/debounce'; + import './assets/icons' // icon @@ -45,8 +45,10 @@ import DictData from '@/components/DictData' import LargeScreen from '@/components/LargeScreen' //大屏头部 +import debounce from './directives/debounce'; // 全局方法挂载 Vue.directive('debounce', debounce); + Vue.prototype.getDicts = getDicts Vue.prototype.getConfigKey = getConfigKey Vue.prototype.parseTime = parseTime diff --git a/src/views/dataSet/dataSetCategory/index.vue b/src/views/dataSet/dataSetCategory/index.vue index d0a5e6d..a4d9dd7 100644 --- a/src/views/dataSet/dataSetCategory/index.vue +++ b/src/views/dataSet/dataSetCategory/index.vue @@ -57,10 +57,18 @@ :data="menuList" row-key="categoryId" :default-expand-all="isExpandAll" + :row-class-name="tableRowClassName" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" > - + + +