docs: 修改版本标签显示方式

This commit is contained in:
Zhicheng WANG 2020-06-13 08:38:28 +08:00
parent 5654533190
commit ee6641901f
2 changed files with 3 additions and 3 deletions

View File

@ -160,8 +160,8 @@ export class AppComponent implements OnInit {
]).subscribe(([versionInfo, versions]) => {
// TODO(pbd): consider whether we can lookup the stable and next versions from the internet
const computedVersions: NavigationNode[] = [
{ title: 'next', url: 'https://next.angular.io/' },
{ title: 'stable', url: 'https://angular.cn/' },
{ title: '英文最新版', url: 'https://next.angular.io/' },
{ title: '同步翻译版', url: 'https://angular.cn/' },
];
if (this.deployment.mode === 'archive') {
computedVersions.push({ title: `v${versionInfo.major}` });

View File

@ -57,7 +57,7 @@ export class ApiListComponent implements OnInit {
statuses: Option[] = [
{ value: 'all', title: '全部' },
{ value: 'stable', title: 'Stable'},
{ value: 'stable', title: '稳定'},
{ value: 'deprecated', title: '弃用' },
{ value: 'security-risk', title: '安全风险' }
];