@we-debug/miniprogram 0.42.5 → 0.42.6
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 +11 -0
- package/dist/json-view/index.js +19 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.42.6](https://github.com/dlhandsome/we-debug/compare/v0.42.5...v0.42.6) (2025-03-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **miniprogram:** fixed json view handler ([2e0da5a](https://github.com/dlhandsome/we-debug/commit/2e0da5a317093192c74e020f06a08bc17f78eb15))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.42.5](https://github.com/dlhandsome/we-debug/compare/v0.42.4...v0.42.5) (2025-03-09)
|
|
7
18
|
|
|
8
19
|
|
package/dist/json-view/index.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "0.42.6",
|
|
4
4
|
"description": "we-debug miniprogram component",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "dlhandsome"
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"readme": "ERROR: No README data found!",
|
|
32
32
|
"_id": "@we-debug/core@0.3.5",
|
|
33
33
|
"_commitid": "6c3f04b",
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "ec91eafcec743594fcacd148a27c54e83ce6e14e"
|
|
35
35
|
}
|