Some fields at admin panel shouldn't be sortable

This commit is contained in:
Pig Fang 2019-07-26 15:41:50 +08:00
parent 2d30deb279
commit 53781536e7
4 changed files with 11 additions and 3 deletions

View File

@ -143,12 +143,14 @@ export default {
},
{ field: 'name', label: this.$t('general.player.player-name') },
{
field: 'uid', label: this.$t('general.player.owner'), type: 'number',
field: 'uid', label: this.$t('general.player.owner'), type: 'number', sortable: false,
},
{
field: 'preview', label: this.$t('general.player.previews'), globalSearchDisabled: true, sortable: false,
},
{ field: 'last_modified', label: this.$t('general.player.last-modified') },
{
field: 'last_modified', label: this.$t('general.player.last-modified'), sortable: false,
},
{
field: 'operations', label: this.$t('admin.operationsTitle'), globalSearchDisabled: true, sortable: false,
},

View File

@ -138,7 +138,7 @@ export default {
field: 'score', label: this.$t('general.user.score'), type: 'number', width: '102px',
},
{
field: 'players_count', label: this.$t('admin.playersCount'), type: 'number',
field: 'players_count', label: this.$t('admin.playersCount'), type: 'number', sortable: false,
},
{
field: 'permission', label: this.$t('admin.permission'), globalSearchDisabled: true,

View File

@ -0,0 +1,3 @@
## Fixed
- Some fields at administration panel shouldn't be sortable.

View File

@ -0,0 +1,3 @@
## 修复
- 管理面板的列表中某些字段不应是可排序的