MCPcopy Create free account
hub / github.com/chunshand/qdev / getColumn

Function getColumn

admin/src/components/Qdev/Form/interface.ts:69–72  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

67 rules: {}, //规则
68 help: {
69 getColumn(key: string): FormItemInterface | undefined {
70 const form = this.getForm()
71 return form.columns.find(item => item.model == key)
72 },
73 getColumns(keys: string[]): FormItemInterface[] {
74 const form = this.getForm()
75 return form.columns.filter(item => keys.includes(item.model.toString()));

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected