edit
This commit is contained in:
@ -17,7 +17,6 @@ export class DriverAccountComponent implements OnInit {
|
||||
|
||||
searchSchema: SFSchema = this.initSF();
|
||||
columns: STColumn[] = this.initST();
|
||||
reqParams = {};
|
||||
_$expand = false;
|
||||
|
||||
constructor(public service: FreightAccountService, private router: Router) {}
|
||||
@ -26,7 +25,7 @@ export class DriverAccountComponent implements OnInit {
|
||||
|
||||
beforeReq = (requestOptions: STRequestOptions) => {
|
||||
if (this.sf) {
|
||||
this.reqParams = { ...this.sf.value };
|
||||
Object.assign(requestOptions.body, { ...this.sf.value });
|
||||
}
|
||||
return requestOptions;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user