@we-debug/miniprogram 0.38.0 → 0.40.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,33 @@
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.40.0](https://github.com/dlhandsome/we-debug/compare/v0.39.0...v0.40.0) (2025-03-07)
7
+
8
+ **Note:** Version bump only for package @we-debug/miniprogram
9
+
10
+
11
+
12
+
13
+
14
+ # [0.39.0](https://github.com/dlhandsome/we-debug/compare/v0.38.1...v0.39.0) (2025-03-07)
15
+
16
+ **Note:** Version bump only for package @we-debug/miniprogram
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.38.1](https://github.com/dlhandsome/we-debug/compare/v0.38.0...v0.38.1) (2025-03-07)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * fixed search input ([728f841](https://github.com/dlhandsome/we-debug/commit/728f8414962bf6b28e639ece8e981652481e4f3a))
28
+
29
+
30
+
31
+
32
+
6
33
  # [0.38.0](https://github.com/dlhandsome/we-debug/compare/v0.37.4...v0.38.0) (2025-03-07)
7
34
 
8
35
  **Note:** Version bump only for package @we-debug/miniprogram
@@ -94,6 +94,12 @@ Component({
94
94
  });
95
95
  },
96
96
  setfilterRule(searchStr) {
97
+ if (searchStr === '') {
98
+ // 此时搜索框内容清空,应该恢复当前分组的初始状态
99
+ this.setRules();
100
+ return;
101
+ }
102
+
97
103
  const rules = store.rules.get();
98
104
  const filterRules = rules.filter(i => i.title.indexOf(searchStr) > -1);
99
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@we-debug/miniprogram",
3
- "version": "0.38.0",
3
+ "version": "0.40.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.38.0"
29
+ "@we-debug/core": "0.40.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": "b6927f2b298277d27eb5897a755d5050b6add733"
34
+ "gitHead": "ed3faec0025d32e4e91cc281401f9e580430b967"
35
35
  }