From 36c84173ee2638aff47a3ed42cd22db8092ea133 Mon Sep 17 00:00:00 2001
From: luoyb <412940104@qq.com>
Date: 星期四, 03 六月 2021 19:11:52 +0800
Subject: [PATCH] feat(设备定义):

---
 src/main.js |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main.js b/src/main.js
index 905f4c4..5fc9b74 100644
--- a/src/main.js
+++ b/src/main.js
@@ -21,11 +21,13 @@
 import Selectuser from './views/user/selectuser'
 import Selectdept from './views/user/selectdept'
 import uploadfj from './views/yunpan/uploadfj'
-
+import { selectDictLabel } from './utils/ruoyi'
+import { getDicts } from './api/data'
 const Plugins = [
   hasPermission,
   hasNoPermission,
-  hasAnyPermission
+  hasAnyPermission,
+  getDicts
 ]
 
 Plugins.map((plugin) => {
@@ -39,11 +41,12 @@
 Vue.component('Selectuser', Selectuser)
 Vue.component('Selectdept', Selectdept)
 Vue.component('uploadfj', uploadfj)
-
+Vue.prototype.getDicts = getDicts
 Vue.prototype.$post = request.post
 Vue.prototype.$get = request.get
 Vue.prototype.$put = request.put
 Vue.prototype.$delete = request.delete
+Vue.prototype.selectDictLabel = selectDictLabel
 Vue.prototype.$download = request.download
 Vue.prototype.$upload = request.upload
 Vue.prototype.$login = request.login

--
Gitblit v1.8.0