This commit is contained in:
buqiyuan 2022-08-08 18:59:28 +08:00
commit c68966ed4a
2 changed files with 3 additions and 2 deletions

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

View File

@ -34,6 +34,7 @@ export class SettingComponent implements OnInit {
extensitonConfigurations: any[];
@Input() set isShowModal(val) {
this.$isShowModal = val;
this.isShowModalChange.emit(val);
if (val) {
this.init();
this.remoteServerUrl = this.settings['eoapi-common.remoteServer.url'];
@ -272,6 +273,6 @@ export class SettingComponent implements OnInit {
this.handleSave();
this.isShowModal = false;
this.isShowModalChange.emit(false);
// this.isShowModalChange.emit(false);
}
}