From aee1e5314080f22611236a76cd94248ec9e7a7ea Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 22 Jun 2021 20:44:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E5=B1=80=E6=8C=82=E8=BD=BD=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E6=A0=87=E7=AD=BE=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/main.js | 7 +++++-- ruoyi-ui/src/views/system/dict/data.vue | 5 ----- ruoyi-ui/src/views/system/dict/index.vue | 5 ----- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 0e9639d..789ffb7 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -18,9 +18,11 @@ import { getDicts } from "@/api/system/dict/data"; import { getConfigKey } from "@/api/system/config"; import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi"; import Pagination from "@/components/Pagination"; -// 自定义表格工具扩展 +// 自定义表格工具组件 import RightToolbar from "@/components/RightToolbar" -// 头部标签插件 +// 字典标签组件 +import DictTag from '@/components/DictTag' +// 头部标签组件 import VueMeta from 'vue-meta' // 全局方法挂载 @@ -47,6 +49,7 @@ Vue.prototype.msgInfo = function (msg) { } // 全局组件挂载 +Vue.component('DictTag', DictTag) Vue.component('Pagination', Pagination) Vue.component('RightToolbar', RightToolbar) diff --git a/ruoyi-ui/src/views/system/dict/data.vue b/ruoyi-ui/src/views/system/dict/data.vue index 543a9e0..aa3849a 100644 --- a/ruoyi-ui/src/views/system/dict/data.vue +++ b/ruoyi-ui/src/views/system/dict/data.vue @@ -185,14 +185,9 @@