@fluxhub/fluxhub-lib 10.0.607 → 10.0.608

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.
@@ -19435,7 +19435,11 @@
19435
19435
  wkfapp.prototype.ripristina_imp = function () {
19436
19436
  if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
19437
19437
  return;
19438
- var obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
19438
+ var obj = null;
19439
+ try {
19440
+ obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
19441
+ }
19442
+ catch (e) { }
19439
19443
  if (obj == null)
19440
19444
  return;
19441
19445
  this.app_s.user_name_ori = this.app_s.user_name;
@@ -22527,7 +22531,11 @@
22527
22531
  wkfapp_v2.prototype.ripristina_imp = function () {
22528
22532
  if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
22529
22533
  return;
22530
- var obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
22534
+ var obj = null;
22535
+ try {
22536
+ obj = JSON.parse(this.m_uti.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
22537
+ }
22538
+ catch (e) { }
22531
22539
  if (obj == null)
22532
22540
  return;
22533
22541
  this.app_s.user_name_ori = this.app_s.user_name;