fix switch status button not show correctly (#15686)

Co-authored-by: xiangzihao <460888207@qq.com>
This commit is contained in:
lch 2024-03-11 10:47:43 +08:00 committed by GitHub
parent c61b81e0c6
commit af578124a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -147,6 +147,7 @@ export function useTable(
parseTime(item.updateTime),
'yyyy-MM-dd HH:mm:ss'
)
item.status = (item.status == 'YES') ? 1 : 0
return {
...item
}