From 3d7a9acd758333348b7dcd0c13a5d6bac2a0ea8d Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Thu, 16 Nov 2023 01:14:24 +0800 Subject: [PATCH] [Core] [Metadata] Fixed `NOT LIKE` name --- core/datacap-web/src/enum/Operator.ts | 2 +- .../src/views/admin/source/components/TableColumnFilter.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/datacap-web/src/enum/Operator.ts b/core/datacap-web/src/enum/Operator.ts index e04753df..a7f62125 100644 --- a/core/datacap-web/src/enum/Operator.ts +++ b/core/datacap-web/src/enum/Operator.ts @@ -7,7 +7,7 @@ export enum Operator LT = ("<"), LTE = ("<="), LIKE = ("LIKE"), - NLINK = ("NOT LIKE"), + NLIKE = ("NOT LIKE"), NULL = ("IS NULL"), NNULL = ("IS NOT NULL") } diff --git a/core/datacap-web/src/views/admin/source/components/TableColumnFilter.vue b/core/datacap-web/src/views/admin/source/components/TableColumnFilter.vue index 606c4548..fcb79355 100644 --- a/core/datacap-web/src/views/admin/source/components/TableColumnFilter.vue +++ b/core/datacap-web/src/views/admin/source/components/TableColumnFilter.vue @@ -162,7 +162,7 @@ export default defineComponent({ filter.operations = [Operator.EQ, Operator.NEQ, Operator.GT, Operator.LT, Operator.GTE, Operator.LTE]; } else { - filter.operations = [Operator.EQ, Operator.NEQ, Operator.LIKE, Operator.NLINK, Operator.NULL, Operator.NNULL]; + filter.operations = [Operator.EQ, Operator.NEQ, Operator.LIKE, Operator.NLIKE, Operator.NULL, Operator.NNULL]; } }, handlerApplyFilter()