diff --git a/angular.json b/angular.json index 0a5bfcf..cc4e66b 100644 --- a/angular.json +++ b/angular.json @@ -97,6 +97,34 @@ "maximumError": "10kb" } ] + }, + "cz": { + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.cz.ts" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "extractCss": true, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "budgets": [ + { + "type": "initial", + "maximumWarning": "4mb", + "maximumError": "5mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "6kb", + "maximumError": "10kb" + } + ] } } }, @@ -108,9 +136,6 @@ "configurations": { "production": { "browserTarget": "high-web:build:production" - }, - "test": { - "browserTarget": "high-web:build:production" } } }, diff --git a/src/app/admin/order/order-c-list/order-c-list.component.ts b/src/app/admin/order/order-c-list/order-c-list.component.ts index c16d2e2..aab9e26 100644 --- a/src/app/admin/order/order-c-list/order-c-list.component.ts +++ b/src/app/admin/order/order-c-list/order-c-list.component.ts @@ -1,13 +1,14 @@ import { Component, OnInit } from '@angular/core'; import {environment} from '../../../../environments/environment'; -import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {OrderService} from '../../../services/order.service'; import {IconService} from '../../../services/icon.service'; -import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; -import {Router} from '_@angular_router@9.0.7@@angular/router'; + import {CompanyService} from '../../../services/company.service'; import {MerchantService} from '../../../services/merchant.service'; import {CommonsService} from '../../../services/commons.service'; +import {FormBuilder, FormGroup} from '@angular/forms'; +import {NzMessageService} from 'ng-zorro-antd'; +import {Router} from '@angular/router'; @Component({ selector: 'app-order-c-list', diff --git a/src/app/admin/order/order-k-list/order-k-list.component.ts b/src/app/admin/order/order-k-list/order-k-list.component.ts index acbb0aa..eeb0cd3 100644 --- a/src/app/admin/order/order-k-list/order-k-list.component.ts +++ b/src/app/admin/order/order-k-list/order-k-list.component.ts @@ -1,13 +1,13 @@ import { Component, OnInit } from '@angular/core'; import {environment} from '../../../../environments/environment'; -import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {OrderService} from '../../../services/order.service'; import {IconService} from '../../../services/icon.service'; -import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; -import {Router} from '_@angular_router@9.0.7@@angular/router'; import {CompanyService} from '../../../services/company.service'; import {MerchantService} from '../../../services/merchant.service'; import {CommonsService} from '../../../services/commons.service'; +import {FormBuilder, FormGroup} from '@angular/forms'; +import {NzMessageService} from 'ng-zorro-antd'; +import {Router} from '@angular/router'; @Component({ selector: 'app-order-k-list', diff --git a/src/app/admin/recharge-order/price-list/price-list.component.html b/src/app/admin/recharge-order/price-list/price-list.component.html index ae6da51..ae70d10 100644 --- a/src/app/admin/recharge-order/price-list/price-list.component.html +++ b/src/app/admin/recharge-order/price-list/price-list.component.html @@ -56,6 +56,7 @@