@lambo-design-mobile/lambo-js-bridge 1.0.0-beta.20 → 1.0.0-beta.21
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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## [1.0.0-beta.21](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.20...@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.21) (2025-01-23)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
6
|
+
|
|
7
|
+
* **YunTuAdapter:** 修正图像选择器输出类型参数 ([0ab2c61](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/0ab2c61112295f91b07f86b84e32e6a17213d3a8))
|
|
8
|
+
|
|
2
9
|
## [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
10
|
|
|
4
11
|
|
package/package.json
CHANGED
package/src/sdk/YunTuAdapter.js
CHANGED
|
@@ -168,7 +168,7 @@ class YunTuAdapter {
|
|
|
168
168
|
if (window.top.imagePicker) {
|
|
169
169
|
const sourceType = options && options.sourceType === 'gallery' ? 'gallery' : 'camera';
|
|
170
170
|
const pickerFunction = window.top.imagePicker[sourceType];
|
|
171
|
-
options.
|
|
171
|
+
options.type= options.outputType.includes("data")?1:0;
|
|
172
172
|
if (typeof pickerFunction === 'function') {
|
|
173
173
|
pickerFunction(
|
|
174
174
|
(res) => {
|