我正在研究 ionic 2.0 和 AngularJS 2.0,但组件“下拉菜单”不起作用。所有代码都在https://github.com/aaronchen2k/test/tree/master/app
tabs.html
<drop-menu></drop-menu>
下拉菜单.js
import {Component} from 'angular2/core';
@Component({
selector: 'drop-menu',
templateUrl: 'build/components/dropmenu/dropmenu.html'
})
export class DropMenuComponent {
constructor() {
}
}