From e36af48e2312a170b59153810c88d619113d1f11 Mon Sep 17 00:00:00 2001 From: JustAnotherID Date: Mon, 10 Jun 2024 20:12:26 +0800 Subject: [PATCH] chore: as linter --- src/components/mod/censor/CensorWords.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/mod/censor/CensorWords.vue b/src/components/mod/censor/CensorWords.vue index 52e1da29..0e421c8b 100644 --- a/src/components/mod/censor/CensorWords.vue +++ b/src/components/mod/censor/CensorWords.vue @@ -27,7 +27,7 @@ import type {Column} from "element-plus"; import type {CellRendererParams} from "element-plus/es/components/table-v2/src/types"; import {template} from "lodash-es"; -const columns: Column[] = [ +const columns: Column[] = [ { key: "level", title: "级别", @@ -54,6 +54,7 @@ const columns: Column[] = [ key: "related", title: "匹配词汇", dataKey: 'related', + width: 200, cellRenderer: ({cellData: related, rowData}: CellRendererParams) => { if (related) { return