From b61d3353ae963c0430258230649951e423fbdbee Mon Sep 17 00:00:00 2001 From: children117cl <278950112@qq.com> Date: 星期五, 25 六月 2021 15:27:26 +0800 Subject: [PATCH] 管理员页,获取角色需要判断isUse===1才能使用 --- src/main.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 1cfd752..1499820 100644 --- a/src/main.js +++ b/src/main.js @@ -20,6 +20,8 @@ import Pagination from '@/components/Pagination' // 鑷畾涔夎〃鏍煎伐鍏锋墿灞� import RightToolbar from '@/components/RightToolbar' +// 鎷栨嫿寮圭獥 +import drag from './directive/el-drag-dialog/drag' // 杩囨护鍣ㄧ粺涓�澶勭悊鍔犺浇 Object.keys(filter).forEach(key => { @@ -44,6 +46,8 @@ this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'error' }) } +Vue.directive('el-drag-dialog', drag) + Vue.config.productionTip = false new Vue({ -- Gitblit v1.8.0