From db942b44e0755ee1ce4bc8912be2cb1ca5f89c95 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 02 七月 2024 17:04:41 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/utils/utils-custom.js | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/utils/utils-custom.js b/src/utils/utils-custom.js index e546ebe..6823cc6 100644 --- a/src/utils/utils-custom.js +++ b/src/utils/utils-custom.js @@ -2056,6 +2056,13 @@ duration: 5 }) return false + } else if (/\sdecimal\(8,/ig.test(sql)) { + notification.warning({ + top: 92, + message: `涓嶅彲浣跨敤 decimal(8`, + duration: 5 + }) + return false } else if (type === 'customscript' && /\son\s+[a-z0-9_]+\.[a-z0-9_]+\s*=\s*[a-z0-9_]+\.[a-z0-9_]+/ig.test(sql)) { let list = sql.match(/\son\s+[a-z0-9_]+\.[a-z0-9_]+\s*=\s*[a-z0-9_]+\.[a-z0-9_]+/ig) let errors = [] -- Gitblit v1.8.0