@lemon-fe/mini-app 0.1.57 → 0.1.58

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.
@@ -117,11 +117,9 @@ function App(props) {
117
117
  });
118
118
  }, [goBack]);
119
119
  useEffect(function () {
120
- if (!capsule) {
121
- mini.setCapsule({
122
- visible: false
123
- });
124
- }
120
+ mini.setCapsule({
121
+ visible: capsule
122
+ });
125
123
  }, []);
126
124
  var ctx = useMemo(function () {
127
125
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/mini-app",
3
- "version": "0.1.57",
3
+ "version": "0.1.58",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",
@@ -36,5 +36,5 @@
36
36
  "react": "^17.0.2",
37
37
  "react-dom": "17.0.2"
38
38
  },
39
- "gitHead": "1eb27aafe8ba7a864d9d88ca5a8dc3d4da5dc582"
39
+ "gitHead": "f281b57c97a168184f91d3d814872a341eca5148"
40
40
  }