fix: todo

This commit is contained in:
xingyu
2022-11-28 22:38:24 +08:00
parent 26fd35e31d
commit 227e11f9c7
6 changed files with 14 additions and 10 deletions

View File

@ -28,7 +28,6 @@
<XButton preIcon="ep:refresh-right" :title="t('common.reset')" @click="resetQuery()" />
</el-form-item>
</el-form>
<!-- TODO 星语暗黑模式选中后样式有点不太好看 -->
<vxe-table
ref="xTable"
:data="dbTableList"

View File

@ -91,5 +91,4 @@ const crudSchemas = reactive<VxeCrudSchema>({
}
]
})
// TODO 星语:“创建时间”的筛选,超过 table 的边框
export const { allSchemas } = useVxeCrudSchemas(crudSchemas)

View File

@ -54,8 +54,7 @@
@click="exportList('用户数据.xls')"
/>
</template>
<!-- TODO @星语貌似没生效 -->
<template #status="{ row }">
<template #status_default="{ row }">
<el-switch
v-model="row.status"
:active-value="0"

View File

@ -70,7 +70,12 @@ const crudSchemas = reactive<VxeCrudSchema>({
field: 'status',
dictType: DICT_TYPE.COMMON_STATUS,
dictClass: 'number',
isSearch: true
isSearch: true,
table: {
slots: {
default: 'status_default'
}
}
},
{
title: '最后登录时间',