Skip to content

Commit

Permalink
调整部分页面分页数
Browse files Browse the repository at this point in the history
  • Loading branch information
zema1 committed Nov 29, 2017
1 parent 298047e commit 76d09d5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/pages/admin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key])
})

Vue.use(Element, {locale, size: 'small'})
Vue.use(Element, {locale})
// Vue.use(VueI18n)
Vue.component(IconBtn.name, IconBtn)
Vue.component(Panel.name, Panel)
Expand Down
2 changes: 1 addition & 1 deletion src/pages/admin/views/general/User.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
data () {
return {
// 一页显示的用户数
pageSize: 15,
pageSize: 10,
// 用户总数
total: 0,
// 用户列表
Expand Down
1 change: 0 additions & 1 deletion src/pages/admin/views/problem/Problem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
</el-form-item>
</el-col>
<el-col :span="8">
{{problem.languages}}
<el-form-item label="Languages" :error="error.languages" required>
<el-checkbox-group v-model="problem.languages">
<el-tooltip class="spj-radio" v-for="lang in allLanguage.languages" :key="'spj'+lang.name" effect="dark"
Expand Down
3 changes: 0 additions & 3 deletions src/pages/oj/views/submission/SubmissionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,13 @@
{
title: 'When',
align: 'center',
width: 180,
render: (h, params) => {
return h('span', time.utcToLocal(params.row.create_time))
}
},
{
title: 'ID',
align: 'center',
width: 150,
render: (h, params) => {
if (params.row.show_link) {
return h('span', {
Expand All @@ -96,7 +94,6 @@
{
title: 'Status',
align: 'center',
width: 180,
render: (h, params) => {
return h('Tag', {
props: {
Expand Down

0 comments on commit 76d09d5

Please sign in to comment.