@zscreate/form-component 1.1.612 → 1.1.615

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.
@@ -238,8 +238,9 @@ function isArrayLike(value) {
238
238
 
239
239
 
240
240
  async function decrypt_http_v1(response) {
241
- let key = 'It9d2GJURVJfzFrW';
242
- let iv = 'tPBNkx0sSO3aIBZI';
241
+ //兼容微应用平台
242
+ let key = window._CONFIG['dataBaseUrl'] && window._CONFIG['businessBaseUrl'] ? 'trucj9568z0934zz' : 'It9d2GJURVJfzFrW';
243
+ let iv = window._CONFIG['dataBaseUrl'] && window._CONFIG['businessBaseUrl'] ? 'l86ou93gvt37e3e6' : 'tPBNkx0sSO3aIBZI';
243
244
  try {
244
245
  let token = response.config.headers['X-Access-Token'];
245
246
  // console.log(token)
@@ -261,6 +262,7 @@ async function decrypt_http_v1(response) {
261
262
  if (typeof eval === 'function') {
262
263
  eval(`
263
264
  console.log( '%c'+ response.config.url + '', 'color: green;', result)
265
+ result && console.table(result)
264
266
  `);
265
267
  }
266
268
  } catch (e) {}
@@ -119670,7 +119672,7 @@ const getSignature = params => (0,_form_api_manage__WEBPACK_IMPORTED_MODULE_0__/
119670
119672
  /***/ ((module) => {
119671
119673
 
119672
119674
  "use strict";
119673
- module.exports = {"rE":"1.1.612"};
119675
+ module.exports = {"rE":"1.1.615"};
119674
119676
 
119675
119677
  /***/ }),
119676
119678
 
@@ -182830,6 +182832,7 @@ function entry_lib_useSsoStatus(options) {
182830
182832
  }
182831
182833
  // EXTERNAL MODULE: ./src/utils/console-ban.min.js
182832
182834
  var entry_lib_console_ban_min = __webpack_require__(524);
182835
+ var entry_lib_console_ban_min_default = /*#__PURE__*/__webpack_require__.n(entry_lib_console_ban_min);
182833
182836
  // EXTERNAL MODULE: ./src/flow/fonts/iconfont.js
182834
182837
  var entry_lib_iconfont = __webpack_require__(1931);
182835
182838
  ;// ./src/utils/watermark/index.js
@@ -185063,11 +185066,10 @@ window.formVersion = entry_lib_version;
185063
185066
 
185064
185067
  //不给打开控制台调试
185065
185068
  if (!localStorage.getItem('close_consoleBan')) {
185066
- // ConsoleBan.init({
185067
- // redirect: 'about:blank'
185068
- // })
185069
+ entry_lib_console_ban_min_default().init({
185070
+ redirect: 'about:blank'
185071
+ });
185069
185072
  }
185070
- debugger;
185071
185073
 
185072
185074
 
185073
185075
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.612",
3
+ "version": "1.1.615",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",