ionic3 post返回的數據 不能ngFor

通過post返回的數據進行循環 .ts this.dataInsdustry = data.result; .html <ul> <li *ngFor="let item of dataInsdustry"> {{item}} </li> </ul> post 返回的數據不能ngFor時,報錯詳情爲: 其中的post數據: 出現這種情況,需要將返回的json數據轉換: public
相關文章
相關標籤/搜索