Skip to content

Commit c307225

Browse files
author
Zhicheng WANG
committed
fix: 修改版本列表
1 parent 2f89e04 commit c307225

File tree

2 files changed

+36
-19
lines changed

2 files changed

+36
-19
lines changed

src/app/shared/version-picker/version-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {MatMenuModule} from '@angular/material/menu';
77
import {MatTooltipModule} from '@angular/material/tooltip';
88
import {normalizedMaterialVersion} from '../normalized-version';
99

10-
const versionUrl = 'https://material.angular.io/assets/versions.json';
10+
const versionUrl = '/assets/versions.json';
1111

1212
/** Version information with title and redirect url */
1313
interface VersionInfo {

src/assets/versions.json

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,55 @@
1+
12
[
23
{
3-
"url": "https://material.angular.io/",
4-
"title": "13.3.0"
4+
"url": "https://next.material.angular.io",
5+
"title": "下一代"
56
},
67
{
7-
"url": "https://v12.material.angular.io/",
8-
"title": "12.2.13"
8+
"url": "https://rc.material.angular.io",
9+
"title": "发布候选版"
910
},
1011
{
11-
"url": "https://v11.material.angular.io/",
12-
"title": "11.2.13"
12+
"url": "https://material.angular.cn",
13+
"title": "15.0.0 (最新)"
1314
},
1415
{
15-
"url": "https://v10.material.angular.io/",
16-
"title": "10.2.7"
16+
"title": "v14(中文)",
17+
"url": "https://v14.material.angular.cn"
1718
},
1819
{
19-
"url": "https://v9.material.angular.io/",
20-
"title": "9.2.4"
20+
"title": "v13",
21+
"url": "https://v13.material.angular.io"
2122
},
2223
{
23-
"url": "https://v8.material.angular.io/",
24-
"title": "8.2.3"
24+
"title": "v12(中文)",
25+
"url": "https://v12.material.angular.cn"
2526
},
2627
{
27-
"url": "https://v7.material.angular.io/",
28-
"title": "7.3.7"
28+
"title": "v11(中文)",
29+
"url": "https://v11.material.angular.cn"
2930
},
3031
{
31-
"url": "https://v6.material.angular.io/",
32-
"title": "6.4.7"
32+
"title": "v10",
33+
"url": "https://v10.material.angular.io"
3334
},
3435
{
35-
"url": "https://v5.material.angular.io/",
36-
"title": "5.2.5"
36+
"title": "v9",
37+
"url": "https://v9.material.angular.io"
38+
},
39+
{
40+
"title": "v8",
41+
"url": "https://v8.material.angular.io"
42+
},
43+
{
44+
"title": "v7",
45+
"url": "https://v7.material.angular.io"
46+
},
47+
{
48+
"title": "v6",
49+
"url": "https://v6.material.angular.io"
50+
},
51+
{
52+
"title": "v5",
53+
"url": "https://v5.material.angular.io"
3754
}
3855
]

0 commit comments

Comments
 (0)