docs: 修改版本标签显示方式
This commit is contained in:
parent
ee6641901f
commit
412360f845
@ -160,7 +160,7 @@ export class AppComponent implements OnInit {
|
|||||||
]).subscribe(([versionInfo, versions]) => {
|
]).subscribe(([versionInfo, versions]) => {
|
||||||
// TODO(pbd): consider whether we can lookup the stable and next versions from the internet
|
// TODO(pbd): consider whether we can lookup the stable and next versions from the internet
|
||||||
const computedVersions: NavigationNode[] = [
|
const computedVersions: NavigationNode[] = [
|
||||||
{ title: '英文最新版', url: 'https://next.angular.io/' },
|
{ title: 'next 版', url: 'https://next.angular.io/' },
|
||||||
{ title: '同步翻译版', url: 'https://angular.cn/' },
|
{ title: '同步翻译版', url: 'https://angular.cn/' },
|
||||||
];
|
];
|
||||||
if (this.deployment.mode === 'archive') {
|
if (this.deployment.mode === 'archive') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user