Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-12 09:12:41 +00:00
parent a4605e311a
commit a6ae5199b0
29756 changed files with 2526222 additions and 278 deletions

17
node_modules/@ant-design/pro-utils/es/isUrl/index.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
/**
* 判断是不是一个 url
* @param {string|undefined} path
* @returns boolean
*/
export var isUrl = function isUrl(path) {
if (!path) return false;
if (!path.startsWith('http')) {
return false;
}
try {
var url = new URL(path);
return !!url;
} catch (error) {
return false;
}
};