src/views/interface/workspace/request/index.jsx
@@ -96,7 +96,7 @@ if (config.raw) { try { raws = JSON.parse(config.raw) } catch { } catch (e) { Modal.error({ title: '参数格式错误,必须为JSON格式!' }) @@ -183,7 +183,7 @@ body = body.replace(/\n/ig, '<br/>') body = body.replace(/\s/ig, ' ') } catch { } catch (e) { body = null } }