@steedos-widgets/amis-object 6.3.5 → 6.3.6
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/amis-object.cjs.js
CHANGED
|
@@ -4371,8 +4371,8 @@ async function getPage({type, pageId = '', appId, objectName = '', recordId = ''
|
|
|
4371
4371
|
/*
|
|
4372
4372
|
* @Author: baozhoutao@steedos.com
|
|
4373
4373
|
* @Date: 2022-10-28 14:15:09
|
|
4374
|
-
* @LastEditors:
|
|
4375
|
-
* @LastEditTime:
|
|
4374
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
4375
|
+
* @LastEditTime: 2024-08-19 16:26:58
|
|
4376
4376
|
* @Description:
|
|
4377
4377
|
*/
|
|
4378
4378
|
|
|
@@ -4578,6 +4578,11 @@ const getAmisFileEditSchema = (steedosField)=>{
|
|
|
4578
4578
|
convertData.multiple = true;
|
|
4579
4579
|
convertData.joinValues = false;
|
|
4580
4580
|
convertData.extractValue = true;
|
|
4581
|
+
if(steedosField.type === 'image'){
|
|
4582
|
+
if(Steedos.isCordova() && Steedos.isCordova()){
|
|
4583
|
+
convertData.accept = "";
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4581
4586
|
}
|
|
4582
4587
|
return convertData;
|
|
4583
4588
|
};
|