From 15889111de4daa730d94a2a60883e3665e16840a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 02 七月 2024 17:03:22 +0800 Subject: [PATCH] 2024-07-02 --- 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