diff --git a/editor/js/ui/common/typedInput.js b/editor/js/ui/common/typedInput.js index 59db274f7..2243f0718 100644 --- a/editor/js/ui/common/typedInput.js +++ b/editor/js/ui/common/typedInput.js @@ -440,6 +440,9 @@ } }, _destroy: function() { + if (this.optionMenu) { + this.optionMenu.remove(); + } this.menu.remove(); }, types: function(types) {