@lingxiteam/ebe-utils 0.2.32 → 0.2.34
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.
|
@@ -620,6 +620,8 @@ export const FormFields = React.forwardRef<FormFieldsHooks, FormFieldsProps>((pr
|
|
|
620
620
|
[`${hiddenClassName}`]: !!hiddenClassName,
|
|
621
621
|
// 当无label时,应填充整个父容器长度,不应限制在col-16
|
|
622
622
|
[`${antPrefix}-form-item-noLabel`]: !formItemLabel,
|
|
623
|
+
// 当无name时,不显示冒号
|
|
624
|
+
[`${antPrefix}-form-item-no-colon`]: !(props.name),
|
|
623
625
|
})} // 用于主题自定义样式去查找对应的元素,固定pcFactory-from-component
|
|
624
626
|
valuePropName={valuePropName}
|
|
625
627
|
initialValue={initialValue}
|
|
@@ -21,6 +21,8 @@ export const api = {
|
|
|
21
21
|
getSqlQueryColumns: params => urlHelper.get('app/sql/getSqlQueryColumns', params),
|
|
22
22
|
batchGetAppStaticAttr: (params: any) => urlHelper.get('app/appAttr/batchGetAppStaticAttr', params),
|
|
23
23
|
uploadSingleFile: () => resolveApiPath('app/file/uploadSingleFile'),
|
|
24
|
+
// 富文本文件上传接口
|
|
25
|
+
uploadFileByFetch: (params: any, appCtx = {} as any) => http.post('app/file/uploadSingleFile', appCtx, params),
|
|
24
26
|
getAppFileUrlById: (params: any, appCtx = {} as any) => {
|
|
25
27
|
const { pageId, appId, language } = appCtx;
|
|
26
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxiteam/ebe-utils",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.34",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@babel/types": "^7.12.12",
|
|
20
20
|
"cac": "^6.7.14",
|
|
21
21
|
"fs-extra": "9.x",
|
|
22
|
-
"@lingxiteam/ebe": "0.2.
|
|
22
|
+
"@lingxiteam/ebe": "0.2.34"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|