From de53cea4c4da5552cc02fe1dcd768397cb45d1c0 Mon Sep 17 00:00:00 2001
From: tengge <930372551@qq.com>
Date: Sun, 31 May 2020 16:45:47 +0800
Subject: [PATCH] fix bug
---
web/src/editor/assets/window/CategoryWindow.jsx | 2 +-
web/src/editor/assets/window/EditWindow.jsx | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/web/src/editor/assets/window/CategoryWindow.jsx b/web/src/editor/assets/window/CategoryWindow.jsx
index c0ee7ade..cd8c2c4a 100644
--- a/web/src/editor/assets/window/CategoryWindow.jsx
+++ b/web/src/editor/assets/window/CategoryWindow.jsx
@@ -164,7 +164,7 @@ class CategoryWindow extends React.Component {
}
CategoryWindow.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,
callback: PropTypes.func
};
diff --git a/web/src/editor/assets/window/EditWindow.jsx b/web/src/editor/assets/window/EditWindow.jsx
index 94bf2eb8..ad1c2e61 100644
--- a/web/src/editor/assets/window/EditWindow.jsx
+++ b/web/src/editor/assets/window/EditWindow.jsx
@@ -60,8 +60,7 @@ class EditWindow extends React.Component {
value={categoryID}
onChange={this.handleCategoryChange}
/>
-