cat-qw-lib 0.43.57 → 0.43.59

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.
@@ -1367,7 +1367,8 @@ class BaseFormComponent {
1367
1367
  this.baseQuery = baseQuery;
1368
1368
  this.subscriptions = [];
1369
1369
  this.record = {};
1370
- this.initialRecord = {};
1370
+ this.initialRecord = JSON.parse(JSON.stringify(this.record));
1371
+ console.log("constructor=>", this.initialRecord);
1371
1372
  }
1372
1373
  message = [];
1373
1374
  attributeMode;
@@ -1391,7 +1392,7 @@ class BaseFormComponent {
1391
1392
  .subscribe((res) => {
1392
1393
  if (res) {
1393
1394
  console.log("0 unSavedCall", this.initialRecord);
1394
- console.log("1 unSavedCall", this.initialRecord);
1395
+ console.log("1 unSavedCall", this.record);
1395
1396
  this.checkUnsavedChanges();
1396
1397
  }
1397
1398
  });