From 5e9725d6fe1d53d55f373361ad59538531179212 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期五, 24 一月 2025 15:10:57 +0800 Subject: [PATCH] 去掉敏感词select --- src/views/data/ind/data/DataSetForm.vue | 2 +- src/views/data/plan/data/DataSetForm.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/data/ind/data/DataSetForm.vue b/src/views/data/ind/data/DataSetForm.vue index 464ede2..d09745b 100644 --- a/src/views/data/ind/data/DataSetForm.vue +++ b/src/views/data/ind/data/DataSetForm.vue @@ -52,7 +52,7 @@ const showError = ref(false) const foundSensitiveWords = ref() const sensitiveMessage = ref('') - const sensitiveWords = [';', 'master', 'truncate', 'insert', 'select', 'delete', 'update', 'declare', 'alter', 'drop'] + const sensitiveWords = [';', 'master', 'truncate', 'insert', 'delete', 'update', 'declare', 'alter', 'drop'] const dialogVisible = ref(false) // 弹窗的是否展示 const dialogTitle = ref('') // 弹窗的标题 diff --git a/src/views/data/plan/data/DataSetForm.vue b/src/views/data/plan/data/DataSetForm.vue index 56aa7da..7c4f382 100644 --- a/src/views/data/plan/data/DataSetForm.vue +++ b/src/views/data/plan/data/DataSetForm.vue @@ -50,7 +50,7 @@ const showError = ref(false) const foundSensitiveWords = ref() const sensitiveMessage = ref('') -const sensitiveWords = [';', 'master', 'truncate', 'insert', 'select', 'delete', 'update', 'declare', 'alter', 'drop'] +const sensitiveWords = [';', 'master', 'truncate', 'insert', 'delete', 'update', 'declare', 'alter', 'drop'] const dialogVisible = ref(false) // 弹窗的是否展示 const dialogTitle = ref('') // 弹窗的标题 -- Gitblit v1.9.3