Михаил Капелько 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
}
}
}

正在加载...
取消
保存