diff --git a/src/views/system/tenant/columns.ts b/src/views/system/tenant/columns.ts index cd8aa94..648e12e 100644 --- a/src/views/system/tenant/columns.ts +++ b/src/views/system/tenant/columns.ts @@ -98,10 +98,10 @@ export const columns = [ return h( NTag, { - type: record.status == 1 ? 'success' : 'error', + type: record.status == 0 ? 'success' : 'error', }, { - default: () => (record.status == 1 ? '正常' : '禁用'), + default: () => (record.status == 0 ? '正常' : '禁用'), }, ); },