怎么通过messages的回调数据 在HTML select 添加option 不知道怎么相互调用
<option value="EditorLEAni_Obj_Active">EditorLEAni_Obj_Active</option>
messages: {
‘level_editor:eventType’ (event,args) {
cc.log(‘event1’+document.getElementById(‘select_type’));
}
}
怎么通过messages的回调数据 在HTML select 添加option 不知道怎么相互调用
<option value="EditorLEAni_Obj_Active">EditorLEAni_Obj_Active</option>
messages: {
‘level_editor:eventType’ (event,args) {
cc.log(‘event1’+document.getElementById(‘select_type’));
}
}