Commit 9bcbeee
committed
refactor: 重构 Subconverter 组件为模块化架构
- 将大型组件拆分为独立的业务模块和组件
- 新增 Composables 架构:useSubscription.js、useSubscriptionForm.js、useUrlParser.js
- 提取服务层:backendService.js、shortUrlService.js、configUploadService.js
- 创建可复用组件:ConfigUploadDialog.vue、UrlParseDialog.vue
- 新增配置模块:client-types.js、constants.js、remote-configs.js
- 重构工具模块:formatters.js、search.js、storage.js、validators.js
- 改进代码组织,提升可维护性和可测试性
- 优化用户体验,添加计算属性控制按钮状态1 parent 3704cbf commit 9bcbeee
File tree
31 files changed
+1103
-1109
lines changed- public
- favicons
- src
- components
- composables
- config
- services
- utils
- views
31 files changed
+1103
-1109
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | | - | |
| 28 | + | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
Binary file not shown.
Loading
Loading
Loading
Loading
Loading
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
9 | 19 | | |
10 | 20 | | |
11 | 21 | | |
| |||
0 commit comments