From de6b8c2b87f068e2b7ee0e6d28cb9bf376324884 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 25 十一月 2024 10:09:55 +0800
Subject: [PATCH] 模型、部署管理bug修改,新增环境变量:flowable对应的后端地址

---
 src/utils/validate.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/utils/validate.js b/src/utils/validate.js
index 57a568e..2f80643 100644
--- a/src/utils/validate.js
+++ b/src/utils/validate.js
@@ -78,3 +78,7 @@
   }
   return Array.isArray(arg)
 }
+
+export function isHttp(url) {
+  return url.indexOf('http://') !== -1 || url.indexOf('https://') !== -1;
+}

--
Gitblit v1.8.0