docs: 修改版本标签显示方式
This commit is contained in:
parent
5654533190
commit
ee6641901f
@ -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}` });
|
||||
|
@ -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: '安全风险' }
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user