From 1902109a2276d4005b9d0cd44720319d415a641a Mon Sep 17 00:00:00 2001 From: zjl Date: Tue, 17 Dec 2024 16:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=A7=9F=E6=88=B7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=8A=B6=E6=80=81BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/tenant/columns.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ? '正常' : '禁用'), }, ); },