fix: import query params

This commit is contained in:
夜鹰 2022-08-08 18:29:29 +08:00
parent 0e96d25ef6
commit d168cf2774

View File

@ -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') {