import { Component, OnInit, OnDestroy } from '@angular/core'; @Component({ selector: 'cm-help-doc', templateUrl: './cm-help-doc.component.html', styleUrls: ['./cm-help-doc.component.css'] }) export class CosmosHelpDocComponent implements OnInit, OnDestroy { apiPath = './docs/components/cm-help-doc/cm-help.api.json'; doc_1 = { title: "基本用例", intro: `提供一个帮助提示`, htmlPath: './docs/components/cm-help-doc/cm-help-doc-1/cm-help-doc-1.component.html', tsPath: './docs/components/cm-help-doc/cm-help-doc-1/cm-help-doc-1.component.ts' } constructor() { } ngOnInit() { } ngOnDestroy() { } }