Merge remote-tracking branch 'remote/master'

# Conflicts:
#	packages/effects/plugins/src/echarts/use-echarts.ts
This commit is contained in:
lrl
2025-07-17 10:09:54 +08:00
75 changed files with 5090 additions and 3133 deletions

View File

@@ -42,3 +42,13 @@ export function getNestedValue<T>(obj: T, path: string): any {
return current;
}
/**
* 获取 URL 参数值
* @param key - 参数键
* @returns 参数值,或者未找到时返回空字符串
*/
export function getUrlValue(key: string): string {
const url = new URL(decodeURIComponent(location.href));
return url.searchParams.get(key) ?? '';
}