diff --git a/CHANGELOG.md b/CHANGELOG.md
index b428fd8bce752d38c7949246c96450a0b598909e..e4ac9164039f75c6eb2a033daa73f440af5630a3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -88,6 +88,7 @@
### Fixed
+- 修复卡片视图点击分组新建时,未能携带分组数据到新建视图的问题;移除搜索表单搜索按钮左右边距;修复表单下拉列表值为0时,未能回显的问题
- 修复搜索表单保存搜索条件后未清空当前设置的保存条件名字的问题
- 修复表单直接内容是视频类型时,未配置的参数会覆盖掉默认的参数
- 修复分割容器在统一页面内有多个可交互元素时,分割容器的pointerdown事件被浏览器忽略的问题
diff --git a/src/control/data-view/data-view.tsx b/src/control/data-view/data-view.tsx
index 54c8af34f498063185381afeafd9e02712d2fc4d..1d28739e80d57f3f0311dd390719e6625d31fa5d 100644
--- a/src/control/data-view/data-view.tsx
+++ b/src/control/data-view/data-view.tsx
@@ -282,7 +282,7 @@ export const DataViewControl = defineComponent({
);
};
- const renderContent = (items: IData[]) => {
+ const renderContent = (items: IData[], group?: IData) => {
if (!items.length) {
return renderNoData();
}
@@ -298,14 +298,14 @@ export const DataViewControl = defineComponent({
);
})}
,
- renderAddBtn(),
+ renderAddBtn(group),
];
}
return [
...items.map(item => {
return renderCard(item);
}),
- renderAddBtn(),
+ renderAddBtn(group),
];
};
@@ -321,7 +321,7 @@ export const DataViewControl = defineComponent({
{group.caption}
,
- {renderContent(group.children)}
+ {renderContent(group.children, group)}
,
];
})}
diff --git a/src/control/form/search-form/search-form.scss b/src/control/form/search-form/search-form.scss
index dd08bd694cc355724b204c4ac8e6862de79f15b3..5206e3faac4ec8ad25d343ae0100820d766f6487 100644
--- a/src/control/form/search-form/search-form.scss
+++ b/src/control/form/search-form/search-form.scss
@@ -1,6 +1,6 @@
$control-search-form: (
'bg-color': transparent,
- 'padding': getCssVar(spacing, tight) getCssVar(spacing, base),
+ 'padding': getCssVar(spacing, tight) 0,
'right-gap': getCssVar(spacing, base),
'btn-margin': 0 0 0 getCssVar(spacing, tight),
'form-page-item-padding-top': calc(getCssVar('padding') / 2),
diff --git a/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx b/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx
index 8b58dbacb322ff044574a02fad4a7be133c5f3f2..7a40aec86014e0a3c42b8d42ffe393956cf48a82 100644
--- a/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx
+++ b/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx
@@ -76,7 +76,7 @@ export const IBizDropdown = defineComponent({
watch(
() => props.value,
newVal => {
- if (newVal || newVal === null) {
+ if (newVal !== undefined) {
curValue.value = newVal;
if (newVal === null) {
curValue.value = '';