mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-11-30 02:37:57 +08:00
fix: import query params
This commit is contained in:
parent
0e96d25ef6
commit
d168cf2774
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user