diff --git a/package.json b/package.json index 4d60947..c006a0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-activation", - "version": "0.3.3", + "version": "0.3.4", "description": " for React like in vue", "main": "index.js", "scripts": { diff --git a/src/core/KeepAlive.js b/src/core/KeepAlive.js index 6663f57..237d703 100644 --- a/src/core/KeepAlive.js +++ b/src/core/KeepAlive.js @@ -255,6 +255,7 @@ class KeepAlive extends Component { return (
{ this.placeholder = node }} @@ -266,8 +267,8 @@ class KeepAlive extends Component { // 兼容 SSR 服务端渲染 function SSRKeepAlive({ children }) { return ( -
-
{children}
+
+
{children}
) } diff --git a/src/core/Keeper.js b/src/core/Keeper.js index c2bda2f..5fcc83f 100644 --- a/src/core/Keeper.js +++ b/src/core/Keeper.js @@ -125,7 +125,7 @@ export default class Keeper extends Component { this.wrapper = node }} > -
+
{children}