Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215

Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
angular 2 前端教程 – 扎老铁
Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215

Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
class="post-51908 post type-post status-publish format-standard hentry">

angular 2 前端教程

<md-select size="50"  formControlName="deviceTypeId" placeholder="请选择"           (change)="changeDeviceType($event.value,deviceTypesLoader.data)">

  <md-option [value]="null">请选择</md-option>

  <md-option *ngFor="let dt of deviceTypesLoader.data[value]="dt.id">{{ dt.name }}</md-option>

</md-select>

<zen-form-item-container inputLabel="所属项目" >

  <zen-input-control-textbox [readonly]="true" [value]="loadSceneDetail?.data?.project?.name"></zen-input-control-textbox>

</zen-form-item-container>

@Input()

readonly: boolean;

<input (change)="onChange($event)"  (input)="onInput($event)" *ngIf="_formItem?.control"       [value]="value"       class="zen-form-item-input-text"       type="text"       [formControl]="_formItem?.control"       [attr.size]="size"       [name]="_formItem.name"       [attr.placeholder]="_formItem.placeholder||(_formItem.label? (‘请输入’+_formItem.label):”)"

       [attr.readonly]="readonly"

/>

{{value}}

<!–<div class="zen-input-control-text">input-control-text</div>–>

<!–<md-input-container *ngIf="formGroup" [formGroup]="formGroup">–><!–<input [attr.size]="size" [formControl]="control" mdInput [placeholder]="itemOption.name"/>–><!–</md-input-container>—>

Observable.combineLatest(ld.observable, this.deviceTypesLoader.observable)

      .subscribe((x: Array<DeviceDef | DeviceType[]>) => {

      //  console.log("combineLatest", x);

        let def = <DeviceDef>x[0];

        let arr = <DeviceType[]> x[1];

        if (arr && def) {

          let tid = def.deviceTypeId;

          // let t = arr.find(x => x.id == tid);

          this.changeDeviceType(tid, arr);

        }

      });

发表评论

电子邮件地址不会被公开。