Commit 20fc9cfb83601970ae7da621cf9e3bb2b21c71b9
1 parent
9c49f75e
vue3【loginlog】:1)review 样式
Showing
2 changed files
with
3 additions
and
2 deletions
yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
| @@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
| 2 | <ContentWrap> | 2 | <ContentWrap> |
| 3 | <!-- 列表 --> | 3 | <!-- 列表 --> |
| 4 | <vxe-grid ref="xGrid" v-bind="gridOptions" class="xtable-scrollbar"> | 4 | <vxe-grid ref="xGrid" v-bind="gridOptions" class="xtable-scrollbar"> |
| 5 | + <!-- 操作:导出 --> | ||
| 5 | <template #toolbar_buttons> | 6 | <template #toolbar_buttons> |
| 6 | <XButton | 7 | <XButton |
| 7 | type="warning" | 8 | type="warning" |
yudao-ui-admin-vue3/src/views/system/loginlog/loginLog.data.ts
| @@ -26,7 +26,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | @@ -26,7 +26,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | ||
| 26 | }, | 26 | }, |
| 27 | { | 27 | { |
| 28 | title: '浏览器', | 28 | title: '浏览器', |
| 29 | - field: 'userAgent' | 29 | + field: 'userAgent' // TODO 星语:调宽一点,UA 稍微多展示一点,虽然最终都会缩略 |
| 30 | }, | 30 | }, |
| 31 | { | 31 | { |
| 32 | title: '登陆结果', | 32 | title: '登陆结果', |
| @@ -34,7 +34,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | @@ -34,7 +34,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | ||
| 34 | dictType: DICT_TYPE.SYSTEM_LOGIN_RESULT | 34 | dictType: DICT_TYPE.SYSTEM_LOGIN_RESULT |
| 35 | }, | 35 | }, |
| 36 | { | 36 | { |
| 37 | - title: '登录日期', | 37 | + title: '登录日期', // TODO 星语:有点窄,看看咋调宽一点,避免日期展示不全 |
| 38 | field: 'createTime', | 38 | field: 'createTime', |
| 39 | formatter: 'formatDate', | 39 | formatter: 'formatDate', |
| 40 | isSearch: true, | 40 | isSearch: true, |