@yorkjs/hive-biz 0.2.0 → 0.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yorkjs/hive-biz",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "util function",
5
5
  "main": "dist/hive-biz.esm.js",
6
6
  "module": "dist/hive-biz.esm.js",
@@ -36,6 +36,11 @@ export declare class CouponSelector {
36
36
  /** 确认选中。未选可用券时 isValid 为 false */
37
37
  confirm(): ICouponConfirmResult;
38
38
  private _toViewItem;
39
+ /**
40
+ * 同一 id 只保留第一次出现的项。
41
+ * 置顶回显 / 分页重叠会出现两张相同券,选中态会同时亮。
42
+ */
43
+ private _dedupeList;
39
44
  private _findCoupon;
40
45
  /** 0 / 空字符串视为未选 */
41
46
  private _normalizeSelectedId;