@we-debug/miniprogram 0.17.2 → 0.17.3

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,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.17.3](https://github.com/dlhandsome/we-debug/compare/v0.17.2...v0.17.3) (2022-03-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **miniprogram:** 修复组件在 attach 阶段数据更新的问题 ([ca98e2d](https://github.com/dlhandsome/we-debug/commit/ca98e2d8a6696c0243253e0dbd3ecce2d39abef5))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.17.2](https://github.com/dlhandsome/we-debug/compare/v0.17.1...v0.17.2) (2022-03-01)
7
18
 
8
19
  **Note:** Version bump only for package @we-debug/miniprogram
@@ -37,5 +37,23 @@ Component({
37
37
  logo: './logo.png',
38
38
  scrollHeight: 500
39
39
  }
40
+ },
41
+ methods: {
42
+ setSys() {
43
+ this.setData({ sys: store.sys.get() });
44
+ },
45
+ setRules() {
46
+ this.setData({ rules: store.rules.get() });
47
+ },
48
+ setBadges() {
49
+ this.setData({ badges: store.badges.get() });
50
+ }
51
+ },
52
+ lifetimes: {
53
+ attached() {
54
+ this.setSys();
55
+ this.setRules();
56
+ this.setBadges();
57
+ }
40
58
  }
41
59
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@we-debug/miniprogram",
3
- "version": "0.17.2",
3
+ "version": "0.17.3",
4
4
  "description": "we-debug miniprogram component",
5
5
  "author": {
6
6
  "name": "dlhandsome"
@@ -36,5 +36,5 @@
36
36
  "readme": "ERROR: No README data found!",
37
37
  "_id": "@we-debug/core@0.3.5",
38
38
  "_commitid": "6c3f04b",
39
- "gitHead": "4fb9cc48689ec97f9caabdbf259a24468322af49"
39
+ "gitHead": "aaf0bd5c629578e613b7c5a31370dee5793f53b9"
40
40
  }