kerwin612 opened a new pull request, #2368: URL: https://github.com/apache/hertzbeat/pull/2368
## What's changed?  --- > https://ng.ant.design/components/card/zh#components-card-demo-tabs ```html <nz-card style="width: 100%;" nzTitle="Card title" [nzExtra]="extraTemplate"> <nz-card-tab> <nz-tabset nzSize="large" [(nzSelectedIndex)]="index1"> <nz-tab nzTitle="tab1"></nz-tab> <nz-tab nzTitle="tab2"></nz-tab> </nz-tabset> </nz-card-tab> content{{ index1 }} </nz-card> ``` From the official examples, it is evident that the `content` of the `tab` should not be placed directly under `nz-card-tab`; this is because `nz-card-tab` is rendered within `nz-card-head`. ## Checklist - [x] I have read the [Contributing Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide) - [x] I have written the necessary doc or comment. - [x] I have added the necessary unit tests and all cases have passed. ## Add or update API - [ ] I have added the necessary [e2e tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
