cd-form 2.0.56 → 2.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -79,6 +79,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
79
79
  children?: string;
80
80
  };
81
81
  apiOverride?: ApiOverride;
82
+ enCode?: string;
82
83
  }>, {
83
84
  deviceType: string;
84
85
  data: () => never[];
@@ -1,6 +1,8 @@
1
1
  import { AxiosResponse } from 'axios';
2
2
  /** 加载已发布表单的 formData + columnData */
3
3
  export declare function getModelConfig(modelId: string): Promise< AxiosResponse<any, any, {}>>;
4
+ /** 通过 enCode 加载表单配置(内部自动查 modelId) */
5
+ export declare function getModelConfigByCode(enCode: string): Promise< AxiosResponse<any, any, {}>>;
4
6
  /** 查询列表(POST,支持分页/筛选/排序/treeActiveId) */
5
7
  export declare function getModelList(modelId: string, params?: Record<string, any>): Promise< AxiosResponse<any, any, {}>>;
6
8
  export declare function getModelInfo(modelId: string, id: string): Promise< AxiosResponse<any, any, {}>>;