@cloudbase/weda-ui 3.7.3 → 3.7.4
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.
- package/dist/configs/components/wd-table.js +1 -1
- package/dist/configs/components/wd-upload-image.js +3 -3
- package/dist/style/index.scss +1 -1
- package/dist/web/components/form/uploader/uploader.h5.js +13 -3
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +17 -5
- package/dist/web/components/wd-table/utils/index.js +2 -2
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ import { templateInitNameWithId } from './common/init-name-with-id';
|
|
|
4
4
|
// 图片来源
|
|
5
5
|
export const WD_TAG_CAPTURE_TYPE = [
|
|
6
6
|
{ label: '拍照与相册', value: 'both' },
|
|
7
|
-
{ label: '
|
|
8
|
-
{ label: '
|
|
7
|
+
{ label: '拍照', value: 'camera' },
|
|
8
|
+
{ label: '相册', value: 'album' },
|
|
9
9
|
];
|
|
10
10
|
const SELECT = pickWithXCategory(FORM_ITEM_DATA, ['extra', 'showShape', 'borderedH5', 'isChooseAvatar'], X_CATEGORY.IMAGE_CONTENT);
|
|
11
11
|
const TITLE = getFormItemDataTitle('图片上传');
|
|
@@ -64,7 +64,7 @@ const data = Type.Partial(Type.Object({
|
|
|
64
64
|
'x-index': FORM_ITEM_DATA.isChooseAvatar['x-index'] - 1,
|
|
65
65
|
enum: Tuple(WD_TAG_CAPTURE_TYPE),
|
|
66
66
|
description: '图片选择的来源',
|
|
67
|
-
'x-helper-text': '
|
|
67
|
+
'x-helper-text': '受各端浏览器特性限制,选择「拍照」时,PC端将禁用上传;选择「相册」时,H5端将禁用上传;安卓端微信浏览器不支持批量选择照片。',
|
|
68
68
|
}),
|
|
69
69
|
// 状态校验
|
|
70
70
|
acceptTypes: FORM_ITEM_DATA.acceptTypes,
|