Browse Source

update docs

pull/10164/head
muhammedaltug 5 years ago
parent
commit
eb85c9e5ff
  1. 2
      docs/en/Modules/Setting-Management.md
  2. 4
      docs/zh-Hans/Modules/Setting-Management.md

2
docs/en/Modules/Setting-Management.md

@ -278,7 +278,7 @@ Open the `app.component.ts` and modify the file as shown below:
```js ```js
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { SettingTabsService } from '@abp/ng.core'; // imported SettingTabsService import { SettingTabsService } from '@abp/ng.setting-management/config'; // imported SettingTabsService
import { MySettingsComponent } from './my-settings/my-settings.component'; // imported MySettingsComponent import { MySettingsComponent } from './my-settings/my-settings.component'; // imported MySettingsComponent
@Component(/* component metadata */) @Component(/* component metadata */)

4
docs/zh-Hans/Modules/Setting-Management.md

@ -249,7 +249,7 @@ yarn ng generate component my-settings
```js ```js
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { SettingTabsService } from '@abp/ng.core'; // imported SettingTabsService import { SettingTabsService } from '@abp/ng.setting-management/config'; // imported SettingTabsService
import { MySettingsComponent } from './my-settings/my-settings.component'; // imported MySettingsComponent import { MySettingsComponent } from './my-settings/my-settings.component'; // imported MySettingsComponent
@Component(/* component metadata */) @Component(/* component metadata */)
@ -273,4 +273,4 @@ export class AppComponent {
导航到 `/setting-management` 路由你会看到以下变化: 导航到 `/setting-management` 路由你会看到以下变化:
![Custom Settings Tab](../images/custom-settings.png) ![Custom Settings Tab](../images/custom-settings.png)

Loading…
Cancel
Save