fix: break-normal更改位置

This commit is contained in:
dap
2024-12-06 09:32:27 +08:00
parent 48ca7aca8c
commit 1d842b1b87
2 changed files with 4 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ export const descSchema: DescItem[] = [
label: '请求参数',
render(value) {
return (
<div class="max-h-[300px] overflow-y-auto break-normal">
<div class="max-h-[300px] w-full overflow-y-auto">
{renderJsonPreview(value)}
</div>
);
@@ -176,7 +176,7 @@ export const descSchema: DescItem[] = [
label: '响应参数',
render(value) {
return (
<div class="max-h-[300px] overflow-y-auto break-normal">
<div class="max-h-[300px] w-full overflow-y-auto">
{renderJsonPreview(value)}
</div>
);