fix bug
This commit is contained in:
@ -40,7 +40,7 @@ export class FreightConfigComponent implements OnInit {
|
||||
Object.assign(requestOptions.body, { listSource: 1 });
|
||||
if (this.sf?.value) {
|
||||
Object.assign(requestOptions.body, {
|
||||
...this.sf.value
|
||||
...this.sf?.value
|
||||
});
|
||||
if (this.sf?.value.createTime) {
|
||||
Object.assign(requestOptions.body, {
|
||||
@ -171,7 +171,7 @@ export class FreightConfigComponent implements OnInit {
|
||||
const params = { listSource: 1, pageSize: -1 };
|
||||
if (this.sf) {
|
||||
Object.assign(params, {
|
||||
...this.sf.value
|
||||
...this.sf?.value
|
||||
});
|
||||
}
|
||||
this.service.downloadFile(this.service.$api_export_freight_config, params);
|
||||
|
||||
Reference in New Issue
Block a user