MCPcopy Create free account
hub / github.com/NetEase/tango / listForms

Method listForms

packages/core/src/models/view-module.ts:208–221  ·  view source on GitHub ↗

* 表单列表

()

Source from the content-addressed store, hash-verified

206 * 表单列表
207 */
208 listForms() {
209 const forms: Record<string, string[]> = {};
210 const activeViewNodes = this.nodes;
211 Array.from(activeViewNodes.values()).forEach((node) => {
212 if (
213 ['XAction', 'XColumnAction', 'XForm', 'XStepForm', 'XSearchForm', 'XFormList'].includes(
214 node.component,
215 )
216 ) {
217 forms[node.id] = queryXFormItemFields(node.rawNode);
218 }
219 });
220 return forms;
221 }
222
223 /**
224 * 添加导入符号

Callers

nothing calls this directly

Calls 2

queryXFormItemFieldsFunction · 0.90
valuesMethod · 0.45

Tested by

no test coverage detected