解决租户列表状态BUG

This commit is contained in:
zjl 2024-12-17 16:30:49 +08:00
parent 45f21d40e7
commit 1902109a22

View File

@ -98,10 +98,10 @@ export const columns = [
return h( return h(
NTag, NTag,
{ {
type: record.status == 1 ? 'success' : 'error', type: record.status == 0 ? 'success' : 'error',
}, },
{ {
default: () => (record.status == 1 ? '正常' : '禁用'), default: () => (record.status == 0 ? '正常' : '禁用'),
}, },
); );
}, },