@we-debug/miniprogram 0.42.5 → 0.43.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.43.0](https://github.com/dlhandsome/we-debug/compare/v0.42.6...v0.43.0) (2025-03-10)
7
+
8
+ **Note:** Version bump only for package @we-debug/miniprogram
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.42.6](https://github.com/dlhandsome/we-debug/compare/v0.42.5...v0.42.6) (2025-03-10)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **miniprogram:** fixed json view handler ([2e0da5a](https://github.com/dlhandsome/we-debug/commit/2e0da5a317093192c74e020f06a08bc17f78eb15))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.42.5](https://github.com/dlhandsome/we-debug/compare/v0.42.4...v0.42.5) (2025-03-09)
7
26
 
8
27
 
@@ -506,6 +506,10 @@ Component({
506
506
  value: updatedData,
507
507
  changes: changedData
508
508
  });
509
+ this.bindChangeHandler({
510
+ value: updatedData,
511
+ changes: changedData
512
+ });
509
513
 
510
514
  // 更新显示
511
515
  this.setData({
@@ -666,6 +670,10 @@ Component({
666
670
  value: newData,
667
671
  changes: changedData
668
672
  });
673
+ this.bindChangeHandler({
674
+ value: newData,
675
+ changes: changedData
676
+ });
669
677
 
670
678
  this.setData({
671
679
  formattedData: newFormattedData
@@ -708,10 +716,21 @@ Component({
708
716
  value: newData,
709
717
  changes: changedData
710
718
  });
719
+ this.bindChangeHandler({
720
+ value: newData,
721
+ changes: changedData
722
+ });
711
723
 
712
724
  this.setData({
713
725
  formattedData: restoredData
714
726
  });
727
+ },
728
+ bindChangeHandler(data) {
729
+ const handler = this.properties.config.handler;
730
+
731
+ if (handler && handler.bindChange && isFunc(handler.bindChange)) {
732
+ handler.bindChange.call(this, data);
733
+ }
715
734
  }
716
735
  },
717
736
  attached() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@we-debug/miniprogram",
3
- "version": "0.42.5",
3
+ "version": "0.43.0",
4
4
  "description": "we-debug miniprogram component",
5
5
  "author": {
6
6
  "name": "dlhandsome"
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@we-debug/core": "0.42.0"
29
+ "@we-debug/core": "0.43.0"
30
30
  },
31
31
  "readme": "ERROR: No README data found!",
32
32
  "_id": "@we-debug/core@0.3.5",
33
33
  "_commitid": "6c3f04b",
34
- "gitHead": "faa1c671beb8f459c4220925a2cb7a5b4aa8453c"
34
+ "gitHead": "e71170c02073fae6a304effd575bbbabc3402c58"
35
35
  }