RuoYi
2020-12-11 d6eac2dc8db77cc631ff9310ae2ef47ea56bb7f8
ruoyi-ui/src/main.js
@@ -2,8 +2,6 @@
import Cookies from 'js-cookie'
import 'normalize.css/normalize.css' // a modern alternative to CSS resets
import Element from 'element-ui'
import './assets/styles/element-variables.scss'
@@ -21,7 +19,7 @@
import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi";
import Pagination from "@/components/Pagination";
//自定义表格工具扩展
import TableToolsExt from "@/components/TableToolsExt"
import RightToolbar from "@/components/RightToolbar"
// 全局方法挂载
Vue.prototype.getDicts = getDicts
@@ -48,7 +46,7 @@
// 全局组件挂载
Vue.component('Pagination', Pagination)
Vue.component('TableToolsExt', TableToolsExt)
Vue.component('RightToolbar', RightToolbar)
Vue.use(permission)