ruoyi-ui/src/main.js
@@ -12,6 +12,7 @@ import router from './router' import directive from './directive' //directive import plugins from './plugins' // plugins import { download } from '@/utils/request' import './assets/icons' // icon import './permission' // permission control @@ -43,6 +44,7 @@ Vue.prototype.addDateRange = addDateRange Vue.prototype.selectDictLabel = selectDictLabel Vue.prototype.selectDictLabels = selectDictLabels Vue.prototype.download = download Vue.prototype.handleTree = handleTree // 全局组件挂载