提交 fb43a1b8 编写于 作者: Y yiminghe

fix anim server render

上级 a085adcf
import velocity from 'velocity-animate';
let velocity;
if (typeof document !== 'undefined' && typeof window !== 'undefined') {
velocity = require('velocity-animate');
}
function animate(node, show, transitionName, done) {
let ok;
......@@ -37,4 +40,4 @@ const animation = {
},
};
export default animation;
module.exports = animation;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册