提交代码

pull/1/head
胡锐 2 years ago
parent 843c8ce02f
commit 502d00fc6e
  1. 11
      proxy.conf.json
  2. 2
      src/app/admin/index/index-routing.module.ts
  3. 4
      src/app/admin/index/index.module.ts

@ -0,0 +1,11 @@
{
"/api":{
"target":"https://geo.datav.aliyun.com",
"secure":false,
"logLevel":"debug",
"changeOrigin":true,
"pathRewrite":{
"^/api":""
}
}
}

@ -2,13 +2,11 @@ import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router'; import { Routes, RouterModule } from '@angular/router';
import {IndexComponent} from './index/index.component'; import {IndexComponent} from './index/index.component';
import {TestComponent} from './test/test.component'; import {TestComponent} from './test/test.component';
import {OrderStatisticsComponent} from './order-statistics/order-statistics.component';
const routes: Routes = [ const routes: Routes = [
{ path: '', component: IndexComponent }, { path: '', component: IndexComponent },
{ path: 'test', component: TestComponent }, { path: 'test', component: TestComponent },
{ path: 'order-statistics', component: OrderStatisticsComponent }
]; ];
@NgModule({ @NgModule({

@ -14,12 +14,10 @@ import {RegionSelectorModule} from '../../common/region-selector/region-selector
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import { TestComponent } from './test/test.component'; import { TestComponent } from './test/test.component';
import {NzSpaceModule} from 'ng-zorro-antd/space'; import {NzSpaceModule} from 'ng-zorro-antd/space';
import { OrderStatisticsComponent } from './order-statistics/order-statistics.component';
@NgModule({ @NgModule({
declarations: [IndexComponent, TestComponent, OrderStatisticsComponent], declarations: [IndexComponent, TestComponent],
imports: [ imports: [
CommonModule, CommonModule,
SystemRoutingModule, SystemRoutingModule,

Loading…
Cancel
Save