Михаил Капелько 10 月之前
父節點
當前提交
005621eccc
共有 2 個檔案被更改,包括 10 行新增4 行删除
  1. +1
    -1
      Modules/BusX/BusUI/src/BusUI.ManyTextField.swift
  2. +9
    -3
      Modules/MPAKX/src/MPAK.Many.swift

+ 1
- 1
Modules/BusX/BusUI/src/BusUI.ManyTextField.swift 查看文件

@@ -35,7 +35,7 @@ extension BusUI {
$v
.removeDuplicates()
.compactMap(onlyUIText)
.compactMap { v in
.compactMap { v -> Any in
if let id {
var d = [String: String]()
d[id] = v


+ 9
- 3
Modules/MPAKX/src/MPAK.Many.swift 查看文件

@@ -1,8 +1,14 @@
extension MPAK {
public struct Many<T> {
public var keys = Set<String>()
public var dict = [String: T]()
public var keys: Set<String>
public var dict: [String: T]

public init() { }
public init(
_ keys: Set<String> = [],
_ dict: [String: T] = [:]
) {
self.keys = keys
self.dict = dict
}
}
}

Loading…
取消
儲存