angular

    -2热度

    1回答

    <table> <thead> <tr> <th><div>Agent ID</div></th> <th><div>Country</div></th> <th><div>Address</div></th> <th>Date</th> </tr> </thead> <t

    4热度

    3回答

    我尝试查找此方案的最佳做法,但找不到。 问题: 我不想再重复动作的文件,就像在我的例子 家todos.actions和运动待办事项-行动,我想用同样的对dos.action文件。和相同的减速器。 例如: 我写例如待办事项应用程序,在这个例子中,你可以看到这个问题,如果我派遣一个行动型“ADD_TODO_ASYNC”,它会在家里(效果和减速机)派遣,和运动(效果减速机) todos.actions.

    3热度

    1回答

    这可能是一个太具体的错误以获得帮助,但我在此处张贴寻找有关如何操作的任何建议。 我正在将网站从以前的布局迁移到Angular 4的新布局(具有类似的功能)。在我以前的机器上,所有事情都按预期运行。我收到一台新机器,现在每当我尝试为网站提供服务时,我都会收到一些错误。 ERROR in Error: Metadata version mismatch for module C:/Users/dros

    0热度

    3回答

    嗨,我是新来这个角我想要在我的应用程序中设置默认路由 下面是我的app.routing.ts 从'@角度/路由器'导入{路由,路由器模块}; import { HomeComponent } from './home/index'; import { LoginComponent } from './login/index'; import { RegisterComponent } from

    -1热度

    1回答

    我正在制作一个可重复使用的Angular数据表组件,您可以按列进行过滤。现在,我的方法可行,但我担心这不是Angular的最佳做法。是否有另一种方法来过滤单个列,而不是在单击输入时将该特定列添加到“selectColInput”,然后在过滤器管道中使用该列? 数据table.component.html <table> <thead> <tr> <th *ngF

    1热度

    2回答

    我正在使用angular 5.我的模块我正在使用单张1.2.0。 在leaflet.css我有图片的麻烦,例如,一些CSS行: .leaflet-retina .leaflet-control-layers-toggle { background-image: url(/assets/images/leaflet/layers-2x.png); background-size:

    0热度

    3回答

    做有什么问题没有。在登录到控制台时显示以下错误: "Tipp: { "id":1, {...} } ERROR TypeError: this.tipp.isPersistent is not a function" is shown. 第一个日志语句显示正确。但它似乎是一个问题,以评估 'this.tipp.isPersistent()': @Component({ se

    0热度

    1回答

    我在循环中有两个datepickers(开始日期和结束日期)。我想在尝试打开enddate时关闭startdate datepickers,反之亦然。 我曾尝试输入(#开始,#关闭)给予不同的引用 <div class="input-group" *ngIf="item.id =='startDate'"> <input class="form-control" placeholder=

    0热度

    1回答

    我有一个使用传统[kendoGridBinding] =“的GridData”这样的剑道格 - `<kendo-grid #grid [kendoGridBinding]="gridData" [pageable]="true" [pageSize]="5" style="cursor:pointer"> <kendo-grid-column *ngFor="let column of co

    1热度

    1回答

    我有一个列表,我只是想过滤。 Array.find和filter都会产生错误。 功能: setSupplierDetails(supplierId) { const supplier = this.suppliers.filter(tempSupplier => tempSupplier.id === supplierId)[0]; this.supplierName = supplier.s