1
我試圖在這個URL中插入參數,但我無法讓它工作。這裏是我的代碼:不能使用變量作爲參數
filterFunction(newValue, parameter){
this.workorderservice.searchWorkorders(1, 20, {sort: {}, search: {predicateObject: {'workorder.location.street': newValue}}, pagination: {start: 0}})
.subscribe(data =>{ this.rows = data.json()
this.links = this.parselink.parse(data.headers.get('link'))
console.log(this.rows)
})
}
我嘗試用參數
謝謝你,這幫助了我的問題。 – user2843943