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

@ -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: '最后登录时间',