@lambo-design-mobile/lambo-js-bridge 1.0.0-beta.19 → 1.0.0-beta.20
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/sdk/YunTuAdapter.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## [1.0.0-beta.20](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.19...@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.20) (2025-01-23)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ✨ Features | 新功能
|
|
6
|
+
|
|
7
|
+
* **YunTuAdapter:** 添加输出类型配置 ([a715ca4](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/a715ca4118af930e95153d379c3ec3547255999d))
|
|
8
|
+
|
|
2
9
|
## [1.0.0-beta.19](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.18...@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.19) (2025-01-23)
|
|
3
10
|
|
|
4
11
|
|
package/package.json
CHANGED
package/src/sdk/YunTuAdapter.js
CHANGED
|
@@ -167,8 +167,8 @@ class YunTuAdapter {
|
|
|
167
167
|
return new Promise((resolve, reject) => {
|
|
168
168
|
if (window.top.imagePicker) {
|
|
169
169
|
const sourceType = options && options.sourceType === 'gallery' ? 'gallery' : 'camera';
|
|
170
|
-
const pickerFunction = window.top.imagePicker[sourceType];
|
|
171
|
-
|
|
170
|
+
const pickerFunction = window.top.imagePicker[sourceType];
|
|
171
|
+
options.typr= options.outputType.includes("data")?1:0;
|
|
172
172
|
if (typeof pickerFunction === 'function') {
|
|
173
173
|
pickerFunction(
|
|
174
174
|
(res) => {
|