From d026761256877b473a181d1f7c37eb2bce196ea7 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 10 二月 2025 16:01:40 +0800 Subject: [PATCH] 临期、按时完成、超时统计、首页去掉新增图表 --- 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