瀏覽代碼

vue3【loginlog】:1)review 样式

YunaiV 2 年之前
父節點
當前提交
20fc9cfb83

+ 1 - 0
yudao-ui-admin-vue3/src/views/system/loginlog/index.vue

@@ -2,6 +2,7 @@
   <ContentWrap>
     <!-- 列表 -->
     <vxe-grid ref="xGrid" v-bind="gridOptions" class="xtable-scrollbar">
+      <!-- 操作:导出 -->
       <template #toolbar_buttons>
         <XButton
           type="warning"

+ 2 - 2
yudao-ui-admin-vue3/src/views/system/loginlog/loginLog.data.ts

@@ -26,7 +26,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
     },
     {
       title: '浏览器',
-      field: 'userAgent'
+      field: 'userAgent' // TODO 星语:调宽一点,UA 稍微多展示一点,虽然最终都会缩略
     },
     {
       title: '登陆结果',
@@ -34,7 +34,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
       dictType: DICT_TYPE.SYSTEM_LOGIN_RESULT
     },
     {
-      title: '登录日期',
+      title: '登录日期', // TODO 星语:有点窄,看看咋调宽一点,避免日期展示不全
       field: 'createTime',
       formatter: 'formatDate',
       isSearch: true,