Commit 398ecbe04464889aed17462d7f312aa78d630c1b

Authored by fengwotao
1 parent a9490791

pref: 优化查看接口内容modal框长度太长

... ... @@ -175,7 +175,7 @@
175 175 Modal.info({
176 176 title: '接口内容',
177 177 width: 600,
178   - content: h(JsonPreview, { data: JSON.parse(record.requestParams) }),
  178 + content: h(JsonPreview, { virtual: true, data: JSON.parse(record.requestParams) }),
179 179 });
180 180 };
181 181
... ...