:feat 新增模型配置页面和相关功能

- 新增模型配置页面组件和路由
- 实现模型配置表单和相关逻辑- 添加全局配置入口和功能- 优化首页布局和样式- 新增 404 页面组件
- 更新部分组件样式和结构
This commit is contained in:
Jefferyhcool
2025-04-22 17:01:02 +08:00
parent 2aad103a77
commit bb974b0b89
95 changed files with 7723 additions and 1697 deletions

View File

@@ -0,0 +1,9 @@
// 解析URL
export function parseUrl(url: string): { protocol: string, host: string, path: string } {
const urlObj = new URL(url);
return {
protocol: urlObj.protocol,
host: urlObj.host,
path: urlObj.pathname
};
}