@lemon-fe/components 0.1.27 → 0.1.28

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.
@@ -343,6 +343,8 @@ export default function Menu(props) {
343
343
 
344
344
  if (clientWidth.current > WIDTH && width <= WIDTH) {
345
345
  setCollapsed(true);
346
+ } else if (clientWidth.current <= WIDTH && width > WIDTH) {
347
+ setCollapsed(false);
346
348
  }
347
349
 
348
350
  clientWidth.current = width;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",
@@ -41,5 +41,5 @@
41
41
  "react": "^17.0.2",
42
42
  "react-dom": "^17.0.2"
43
43
  },
44
- "gitHead": "227a3713f84228eef6b06d4553cf47d23af1be06"
44
+ "gitHead": "330d5bb83412a5e0aa718ef098a8c1644b4777c1"
45
45
  }