沈斌
2018-02-08 521e90a01a6249834e12e68a930e4d3e239b0a2d
BUGFIX-176
3 files modified
6 ■■■■ changed files
src/app/routes/devices/basic-info/device-edit/device-edit.component.html 2 ●●● patch | view | raw | blame | history
src/app/routes/devices/basic-info/device-edit/device-edit.component.ts 2 ●●● patch | view | raw | blame | history
src/environments/environment.hmr.ts 2 ●●● patch | view | raw | blame | history
src/app/routes/devices/basic-info/device-edit/device-edit.component.html
@@ -11,7 +11,7 @@
            </nz-input>
          </div>
          <div nz-form-label nz-col [nzSm]="4" [nzXs]="24">
            <label>mac</label>
            <label nz-form-item-required>mac</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="7" nzHasFeedback>
                <nz-input formControlName="mac" maxlength="20" [nzPlaceHolder]="'mac地址'">
src/app/routes/devices/basic-info/device-edit/device-edit.component.ts
@@ -39,7 +39,7 @@
    }
    const validates:Device = {
         name:[data.name,[Validators.required]],
         mac:[data.mac],
         mac:[data.mac,[Validators.required]],
         deviceVersionId:[data.deviceVersionId],
         monitorPointId:[data.monitorPointId],
         operateUserId:[data.operateUserId],
src/environments/environment.hmr.ts
@@ -4,5 +4,5 @@
    production: false,
    hmr: true,
    useHash: true,
    SERVER_BASH_URL: `http://127.0.0.1:8080/screen_api_v2/`
    SERVER_BASH_URL: `http://47.96.171.62:8080/screen_api_v2/`
};