fix: 修复图表筛选区块字段支持排序 (#1252)
Reviewed-on: daoyoucloud/tachybase#1252 Co-authored-by: wjh <wwwjh0710@163.com> Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
parent
e4166d7dec
commit
c484545c39
@ -117,6 +117,7 @@ export const SchemaSettingsSortingRule = function SortRuleConfigure(props) {
|
||||
});
|
||||
_.set(fieldSchema, 'x-component-props.service.params.sort', sortArr);
|
||||
props?.onSubmitCallBack?.(sortArr);
|
||||
field.componentProps = fieldSchema['x-component-props'];
|
||||
dn.emit('patch', {
|
||||
schema: {
|
||||
['x-uid']: fieldSchema['x-uid'],
|
||||
|
@ -11,6 +11,7 @@ import {
|
||||
SchemaSettingsModalItem,
|
||||
SchemaSettingsRemove,
|
||||
SchemaSettingsSelectItem,
|
||||
SchemaSettingsSortingRule,
|
||||
useCollection_deprecated,
|
||||
useCollectionManager_deprecated,
|
||||
useCompile,
|
||||
@ -366,6 +367,7 @@ export const ChartFilterItemDesigner: React.FC = () => {
|
||||
{!isCustom && <EditOperator />}
|
||||
<EditTitleField />
|
||||
<EditDefaultValue />
|
||||
<SchemaSettingsSortingRule />
|
||||
{collectionField ? <SchemaSettingsDivider /> : null}
|
||||
<SchemaSettingsRemove
|
||||
key="remove"
|
||||
|
Loading…
Reference in New Issue
Block a user