v0.7.3
This commit is contained in:
@@ -698,7 +698,7 @@ const $n = { null2json: (t) => Object.create(), null2array: (t) => [], null2numb
|
||||
if (!Array.isArray(t)) return t;
|
||||
for (let r = 0; r < t.length; r++) t[r].value = ue((n = t[r]) == null ? void 0 : n.value, e), t[r] && Reflect.has(t[r], "children") && (t[r].children = rr(t[r].children, e));
|
||||
return t;
|
||||
}, Wo = (t, e = "json", n = "string", r, i = null) => {
|
||||
}, Wo = (t, e = "json", n = "string", r = null, i = null) => {
|
||||
const [o] = ae.useForm(r), [a, s] = L([{ label: "无", value: "", disabled: !0 }]), l = H([]), c = ae.useWatch((u) => l.current.length === 0 ? null : w.pick(u, l.current), o) || null;
|
||||
return W(() => {
|
||||
Array.isArray(t) ? s(t) : e === "javascript" && t ? Le.exec(t, {}, { getFieldValue: (u) => (l.current.includes(u) || l.current.push(u), o.getFieldValue(u)), getFieldValueForBasicForm: (u) => (l.current.includes(u) || l.current.push(u), i ? i.getFieldValue(u) : o.getFieldValue(u)) }).then((u) => {
|
||||
Reference in New Issue
Block a user