@we-debug/miniprogram 0.38.0 → 0.38.1
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/index/index.js +6 -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.38.1](https://github.com/dlhandsome/we-debug/compare/v0.38.0...v0.38.1) (2025-03-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fixed search input ([728f841](https://github.com/dlhandsome/we-debug/commit/728f8414962bf6b28e639ece8e981652481e4f3a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.38.0](https://github.com/dlhandsome/we-debug/compare/v0.37.4...v0.38.0) (2025-03-07)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @we-debug/miniprogram
|
package/dist/index/index.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "0.38.1",
|
|
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": "107fc90e37b310441648411917a840e294807e2e"
|
|
35
35
|
}
|