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