fix(form):fixed an issue where queryFilter controls were abnormally hidden #13416
Annotations
5 errors and 1 warning
tests/field/demo.test.ts > field demos > 📸 renders ./packages/field/src/demos/base_test.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `field demos > 📸 renders ./packages/field/src/demos/base_test.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
>
<div
class="ant-space-item"
>
<div
class="ant-radio-group ant-radio-group-outline"
>
<label
class="ant-radio-wrapper"
>
<span
class="ant-radio ant-wave-target"
>
<input
class="ant-radio-input"
name="test-id"
type="radio"
value="read"
/>
<span
class="ant-radio-inner"
/>
</span>
<span>
只读
</span>
</label>
<label
class="ant-radio-wrapper ant-radio-wrapper-checked"
>
<span
class="ant-radio ant-wave-target ant-radio-checked"
>
<input
checked=""
class="ant-radio-input"
name="test-id"
type="radio"
value="edit"
/>
<span
class="ant-radio-inner"
/>
</span>
<span>
编辑
</span>
</label>
</div>
</div>
<div
class="ant-space-item"
>
简约模式
</div>
<div
class="ant-space-item"
>
<button
aria-checked="false"
class="ant-switch"
role="switch"
type="button"
>
<div
class="ant-switch-handle"
/>
<span
class="ant-switch-inner"
>
<span
class="ant-switch-inner-checked"
/>
<span
class="ant-switch-inner-unchecked"
/>
</span>
</button>
</div>
</div>
<br />
<br />
<div
class="ant-descriptions"
>
<div
class="ant-descriptions-view"
>
<table>
<tbody>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
>
<div
class="ant-descriptions-item-container"
>
<span
class="ant-descriptions-item-label"
>
空字符串
</span>
<span
class="ant-descriptions-item-content"
>
-
</span>
</div>
</td>
<td
class="ant-descriptions-item"
colspan="1"
>
<div
class="ant-descriptions-item-container"
>
<span
class="ant-descriptions-item-label"
>
头像
</span>
<span
class="ant-descriptions-item-content"
>
<span
class="ant-avatar ant-avatar-circle ant-avatar-image"
|
tests/form/demo.test.ts > form demos > 📸 renders ./packages/form/src/components/FieldSet/demos/components-other.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `form demos > 📸 renders ./packages/form/src/components/FieldSet/demos/components-other.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
style="padding: 24px;"
>
<button
aria-checked="false"
class="ant-switch"
role="switch"
style="margin-block-end: 16px;"
type="button"
>
<div
class="ant-switch-handle"
/>
<span
class="ant-switch-inner"
>
<span
class="ant-switch-inner-checked"
>
编辑
</span>
<span
class="ant-switch-inner-unchecked"
>
只读
</span>
</span>
</button>
<form
autocomplete="off"
class="ant-form ant-form-vertical ant-pro-form"
id="validate_other"
>
<input
style="display: none;"
type="text"
/>
<div
class="ant-pro-form-group"
>
<div
class="ant-pro-form-group-title"
>
文本类
</div>
<div>
<div
class="ant-space ant-space-horizontal ant-space-align-start ant-pro-form-group-container "
style="column-gap: 32px; row-gap: 0;"
>
<div
class="ant-space-item"
>
<div
class="ant-form-item"
>
<div
class="ant-row ant-form-item-row"
>
<div
class="ant-col ant-form-item-label"
>
<label
class=""
for="validate_other_name"
title="name"
>
name
</label>
</div>
<div
class="ant-col ant-form-item-control"
>
<div
class="ant-form-item-control-input"
>
<div
class="ant-form-item-control-input-content"
>
<span
class="ant-input-affix-wrapper ant-input-affix-wrapper-focused ant-input-outlined pro-field pro-field-md"
>
<input
class="ant-input"
id="validate_other_name"
placeholder="请输入"
type="text"
value="qixian"
/>
<span
class="ant-input-suffix"
>
<button
class="ant-input-clear-icon"
type="button"
>
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
>
<svg
aria-hidden="true"
data-icon="close-circle"
fill="currentColor"
|
tests/form/demo.test.ts > form demos > 📸 renders ./packages/form/src/components/QueryFilter/demos/query-filter-defaultColsNumber.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `form demos > 📸 renders ./packages/form/src/components/QueryFilter/demos/query-filter-defaultColsNumber.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<form
autocomplete="off"
class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form"
>
<input
style="display: none;"
type="text"
/>
<div
class="ant-row ant-row-start ant-pro-query-filter-row"
style="margin-left: -12px; margin-right: -12px;"
>
<div
class="ant-col ant-col-8 ant-pro-query-filter-row-split"
style="padding-left: 12px; padding-right: 12px;"
>
<div
class="ant-form-item"
style="flex-wrap: nowrap;"
>
<div
class="ant-row ant-form-item-row"
>
<div
class="ant-col ant-form-item-label"
style="flex: 0 0 80px;"
>
<label
class=""
for="name"
title="应用名称"
>
应用名称
</label>
</div>
<div
class="ant-col ant-form-item-control"
style="max-width: calc(100% - 80px);"
>
<div
class="ant-form-item-control-input"
>
<div
class="ant-form-item-control-input-content"
>
<span
class="ant-input-affix-wrapper ant-input-affix-wrapper-focused ant-input-outlined"
style="width: 100%;"
>
<input
class="ant-input"
id="name"
placeholder="请输入"
type="text"
value=""
/>
<span
class="ant-input-suffix"
>
<button
class="ant-input-clear-icon ant-input-clear-icon-hidden"
type="button"
>
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
>
<svg
aria-hidden="true"
data-icon="close-circle"
fill="currentColor"
fill-rule="evenodd"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 0
|
tests/form/demo.test.ts > form demos > 📸 renders ./packages/form/src/components/QueryFilter/demos/query-filter-defaultFormItemsNumber.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `form demos > 📸 renders ./packages/form/src/components/QueryFilter/demos/query-filter-defaultFormItemsNumber.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<form
autocomplete="off"
class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form"
>
<input
style="display: none;"
type="text"
/>
<div
class="ant-row ant-row-start ant-pro-query-filter-row"
style="margin-left: -12px; margin-right: -12px;"
>
<div
class="ant-col ant-col-8 ant-pro-query-filter-row-split"
style="padding-left: 12px; padding-right: 12px;"
>
<div
class="ant-form-item"
style="flex-wrap: nowrap;"
>
<div
class="ant-row ant-form-item-row"
>
<div
class="ant-col ant-form-item-label"
style="flex: 0 0 80px;"
>
<label
class=""
for="name"
title="应用名称"
>
应用名称
</label>
</div>
<div
class="ant-col ant-form-item-control"
style="max-width: calc(100% - 80px);"
>
<div
class="ant-form-item-control-input"
>
<div
class="ant-form-item-control-input-content"
>
<span
class="ant-input-affix-wrapper ant-input-affix-wrapper-focused ant-input-outlined"
style="width: 100%;"
>
<input
class="ant-input"
id="name"
placeholder="请输入"
type="text"
value=""
/>
<span
class="ant-input-suffix"
>
<button
class="ant-input-clear-icon ant-input-clear-icon-hidden"
type="button"
>
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
>
<svg
aria-hidden="true"
data-icon="close-circle"
fill="currentColor"
fill-rule="evenodd"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.
|
build
Process completed with exit code 1.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|