fengxiang
2018-03-14 aee3b7ea53df69cedae9e8210987000caf059c9f
src/app/routes/devices/basic-info/adjust-config/adjust-config.component.ts
@@ -19,8 +19,8 @@
  data: DeviceAdjustValue;
  deviceVersionId: number;
  isSaving = false;
  grid: Grid<Sensor> = new Grid(null);
  private initPage() {
  grid: Grid<Sensor> = new Grid();
  private initPage() {
    const sensor: Sensor = {
      name: {
        text: '名称',
@@ -81,7 +81,7 @@
                  value: {}
                };
                if (adjustRes.data != null) {
                  // 存储修改前到值
                  // 存储修改前的值
                  Object.assign(this._dataValue, adjustRes.data.value);
                  this.data['id'] = adjustRes.data.id;
                }