antd-management-fast-framework 1.12.2 → 1.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.12.3](https://github.com/kityandhero/antd-management-fast-framework/compare/antd-management-fast-framework@1.12.2...antd-management-fast-framework@1.12.3) (2021-12-24)
|
|
6
|
+
|
|
7
|
+
**Note:** Version bump only for package antd-management-fast-framework
|
|
8
|
+
|
|
5
9
|
### [1.12.2](https://github.com/kityandhero/antd-management-fast-framework/compare/antd-management-fast-framework@1.12.1...antd-management-fast-framework@1.12.2) (2021-12-24)
|
|
6
10
|
|
|
7
11
|
**Note:** Version bump only for package antd-management-fast-framework
|
|
@@ -191,7 +191,7 @@ declare class ListBase extends AuthorizationWrapper {
|
|
|
191
191
|
renderListViewItem: (record: any, index: any) => JSX.Element;
|
|
192
192
|
renderListViewItemInner: (record: any, index: any) => null;
|
|
193
193
|
renderListViewItemExtra: (record: any, index: any) => null;
|
|
194
|
-
renderListViewItemActions: (record: any, index: any) => any[];
|
|
194
|
+
renderListViewItemActions: (record: any, index: any) => any[] | null;
|
|
195
195
|
renderListViewItemActionOthers: (record: any, index: any) => null;
|
|
196
196
|
renderListViewItemActionSelect: (record: any, index: any) => null;
|
|
197
197
|
renderListViewItemLayout: () => string;
|
|
@@ -1107,7 +1107,8 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1107
1107
|
return _toConsumableArray((0, _tools.isArray)(actionOthers) ? actionOthers : []);
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
1110
|
-
|
|
1110
|
+
var list = [].concat(_toConsumableArray((0, _tools.isArray)(actionOthers) ? actionOthers : []), [actionSelect]);
|
|
1111
|
+
return list.length === 0 ? null : list;
|
|
1111
1112
|
};
|
|
1112
1113
|
|
|
1113
1114
|
_this.renderListViewItemActionOthers = function (record, index) {
|