wl-design-mobile 0.4.3 → 0.4.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/util/jssdk.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wl-design-mobile",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "finch",
package/util/jssdk.js CHANGED
@@ -218,7 +218,7 @@ let JsSDK = (function () {
218
218
  isShowProgressTips: 0, // 默认为1,显示进度提示
219
219
  success: function (res) {
220
220
  let serverId = res.serverId; // 返回图片的服务器端ID
221
- resolve(serverId)
221
+ resolve({appId:appId,agentId:agentId,serverId:serverId})
222
222
  }
223
223
  })
224
224
  }, 200);
@@ -252,7 +252,7 @@ let JsSDK = (function () {
252
252
  isShowProgressTips: 0, // 默认为1,显示进度提示
253
253
  success: function (res) {
254
254
  let serverId = res.serverId; // 返回图片的服务器端ID
255
- resolve(serverId)
255
+ resolve({appId:appId,agentId:agentId,serverId:serverId})
256
256
  }
257
257
  })
258
258
  }, 200);