From 2dd706e5bcf9fdb423a834fe284ce4dcb00e25ff Mon Sep 17 00:00:00 2001 From: tengge <930372551@qq.com> Date: Sun, 31 May 2020 16:40:37 +0800 Subject: [PATCH] fix bug --- web/src/editor/assets/window/EditWindow.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/editor/assets/window/EditWindow.jsx b/web/src/editor/assets/window/EditWindow.jsx index c14a4a77..94bf2eb8 100644 --- a/web/src/editor/assets/window/EditWindow.jsx +++ b/web/src/editor/assets/window/EditWindow.jsx @@ -43,7 +43,7 @@ class EditWindow extends React.Component { style={{ width: '320px', height: '300px' }} mask={false} onClose={this.handleClose} - > + >
@@ -176,7 +176,7 @@ class EditWindow extends React.Component { } EditWindow.propTypes = { - type: PropTypes.oneOf(['Scene', 'Mesh', 'Map', 'Texture', 'Material', 'Audio', 'Particle', 'Screenshot', 'Video']), + type: PropTypes.oneOf(['Scene', 'Mesh', 'Map', 'Texture', 'Material', 'Audio', 'Animation', 'Particle', 'Screenshot', 'Video']), typeName: PropTypes.string, data: PropTypes.object, saveUrl: PropTypes.string,