4 changed files with 11 additions and 12 deletions
@ -1,13 +1,12 @@
|
||||
import { Injectable } from '@angular/core'; |
||||
import { Injectable } from "@angular/core"; |
||||
|
||||
@Injectable({ |
||||
providedIn: 'root' |
||||
providedIn: "root", |
||||
}) |
||||
export class PatternService { |
||||
static isProd: any = true; |
||||
static isProd: any = false; |
||||
|
||||
constructor() { } |
||||
|
||||
public isProd: boolean = true //是否是生产环境
|
||||
constructor() {} |
||||
|
||||
public isProd: boolean = false; //是否是生产环境
|
||||
} |
||||
|
Loading…
Reference in new issue