|
|
|
@ -26,8 +26,8 @@ Vue.prototype.pagination = { |
|
|
|
|
pageSize: 15, // 每页显示条数
|
|
|
|
|
showQuickJumper: true, // 显示跳转输入框
|
|
|
|
|
showSizeChanger: true, |
|
|
|
|
pageSizeOptions: ['15', '30', '50'], |
|
|
|
|
showTotal: total => `共 ${total} 条记录`, |
|
|
|
|
pageSizeOptions: ['15', '30', '50', '100'], |
|
|
|
|
showTotal: (total) => `共 ${total} 条记录`, |
|
|
|
|
} |
|
|
|
|
// mount axios to `Vue.$http` and `this.$http`
|
|
|
|
|
Vue.use(VueAxios) |
|
|
|
@ -45,5 +45,5 @@ new Vue({ |
|
|
|
|
store, |
|
|
|
|
i18n, |
|
|
|
|
created: bootstrap, |
|
|
|
|
render: h => h(App) |
|
|
|
|
render: (h) => h(App), |
|
|
|
|
}).$mount('#app') |
|
|
|
|