Skip to content

Commit

Permalink
fix: import query params
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfuboy committed Aug 8, 2022
1 parent 0e96d25 commit d168cf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class ParamsImportComponent {
}
}
if (this.contentType === 'query') {
paramCode = qs.parse(this.paramCode.split('?')[1]);
paramCode = qs.parse(this.paramCode.indexOf('?') > -1 ? this.paramCode.split('?')[1] : this.paramCode);
// console.log('-->', paramCode);
}
if (this.contentType === 'formData') {
Expand Down

0 comments on commit d168cf2

Please sign in to comment.