ns-base-module 2.0.36 → 2.0.37

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.
@@ -16,7 +16,7 @@ var Index = function Index(_ref) {
16
16
  props = _objectWithoutProperties(_ref, _excluded);
17
17
  var getCountDisplay = function getCountDisplay(count) {
18
18
  if (typeof count !== "number") return null;
19
- return count > 99 ? "99+" : "".concat(count);
19
+ return count;
20
20
  };
21
21
  var getCountClassName = function getCountClassName(count) {
22
22
  var displayCount = getCountDisplay(count);
@@ -12,5 +12,5 @@ export declare type typeFieldFilterCount = {
12
12
  export declare const getFieldFilterCount: (tree: Record<string, any>[], arr: typeFieldFilterCount[]) => void;
13
13
  export declare const adapterFilter: (item: IStatusItem) => Record<string, any>[];
14
14
  export declare function checkFilter(e: any): Record<string, any>[];
15
- export declare function showSlidePanel(config: Record<string, any> | any): "" | "left" | "right";
15
+ export declare function showSlidePanel(config: Record<string, any> | any): "left" | "right" | "";
16
16
  export declare function getFitterTree(tree: Record<string, any>[], treeParent?: Record<string, any>): void;
@@ -270,7 +270,7 @@ var Filter = function Filter(props) {
270
270
  if (dictItems && dictItems.length) {
271
271
  // 找枚举的value
272
272
  if (value) {
273
- var _values = [];
273
+ var _values = [value];
274
274
  dictItems === null || dictItems === void 0 || dictItems.forEach(function (item) {
275
275
  if (item.label.includes(value)) {
276
276
  _values.push(item.value);