safecheck-client 3.0.33-163 → 3.0.33-166

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.
@@ -1312,7 +1312,7 @@
1312
1312
  // 多长截断一次
1313
1313
  let subLength = 800
1314
1314
  for (let i = 0; i < paramStr.length; i += subLength) {
1315
- HostApp.param_cache(paramStr.substr(i, subLength))
1315
+ HostApp.param_cache(paramStr.slice(i, i + subLength))
1316
1316
  }
1317
1317
  HostApp.__this__ = this
1318
1318
  HostApp.syncLogic({
@@ -1374,7 +1374,7 @@
1374
1374
  // 多长截断一次
1375
1375
  let subLength = 800
1376
1376
  for (let i = 0; i < paramStr.length; i += subLength) {
1377
- HostApp.param_cache(paramStr.substr(i, subLength))
1377
+ HostApp.param_cache(paramStr.slice(i, i + subLength))
1378
1378
  }
1379
1379
  HostApp.__this__ = this
1380
1380
  HostApp.syncLogic({
@@ -1601,7 +1601,7 @@
1601
1601
  // 多长截断一次
1602
1602
  let subLength = 800
1603
1603
  for (let i = 0; i < paramStr.length; i += subLength) {
1604
- HostApp.param_cache(paramStr.substr(i, subLength))
1604
+ HostApp.param_cache(paramStr.slice(i, i + subLength))
1605
1605
  }
1606
1606
  HostApp.__this__ = this
1607
1607
  HostApp.syncLogic({