浏览代码

Update ui.js (#24765)

puxiao 2 年之前
父节点
当前提交
991f380b52
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/js/libs/ui.js

+ 1 - 1
editor/js/libs/ui.js

@@ -1189,7 +1189,7 @@ class UIListbox extends UIDiv {
 
 			const item = this.items[ i ];
 
-			const listitem = new UIListbox.ListboxItem( this );
+			const listitem = new ListboxItem( this );
 			listitem.setId( item.id || `Listbox-${i}` );
 			listitem.setTextContent( item.name || item.type );
 			this.add( listitem );