|
|
|
@ -14,8 +14,6 @@ import './permission' // permission control |
|
|
|
|
import './utils/filter' // global filter
|
|
|
|
|
import './global.less' |
|
|
|
|
import { Dialog } from '@/components' |
|
|
|
|
import ElementUI from 'element-ui'
|
|
|
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
|
|
|
|
Vue.config.productionTip = false |
|
|
|
|
Vue.prototype.pagination = { |
|
|
|
|
total: 0, // 数据总数
|
|
|
|
@ -26,8 +24,7 @@ Vue.prototype.pagination = { |
|
|
|
|
pageSizeOptions: ['15', '30', '50'], |
|
|
|
|
showTotal: total => `共 ${total} 条记录`, |
|
|
|
|
} |
|
|
|
|
// mount axios Vue.$http and this.$http
|
|
|
|
|
Vue.use(ElementUI)
|
|
|
|
|
// mount axios Vue.$http and this.$http
|
|
|
|
|
Vue.use(VueAxios) |
|
|
|
|
Vue.use(Dialog) |
|
|
|
|
|
|
|
|
|