@lingxiteam/assets 3.4.1-alpha.2 → 3.4.1-alpha.3

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.
@@ -59,7 +59,7 @@ export var createHttpSignStr = function createHttpSignStr(url, options, version)
59
59
  headers = options.headers,
60
60
  body = options.body,
61
61
  search = options.search;
62
- var signVersion = version || MODE.SIGN_WITH_TIME;
62
+ var signVersion = version || window.lxSecurityMode || MODE.SIGN_WITH_TIME;
63
63
  // 获取参数1: 接口名称
64
64
  var mixUrl = url;
65
65
  if (search && search instanceof Object) {
@@ -66,7 +66,7 @@ var createHttpSignStr = function createHttpSignStr(url, options, version) {
66
66
  headers = options.headers,
67
67
  body = options.body,
68
68
  search = options.search;
69
- var signVersion = version || _const.MODE.SIGN_WITH_TIME;
69
+ var signVersion = version || window.lxSecurityMode || _const.MODE.SIGN_WITH_TIME;
70
70
  // 获取参数1: 接口名称
71
71
  var mixUrl = url;
72
72
  if (search && search instanceof Object) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/assets",
3
- "version": "3.4.1-alpha.2",
3
+ "version": "3.4.1-alpha.3",
4
4
  "description": "灵犀低代码平台移动端 - 工具类",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",