liteng 3fb9ac6005 Revert "彻底分离出UI。"
This reverts commit 058ec5beac334a60313c681747aaa026d808ed75.
2018-11-18 10:13:30 +08:00

20 lines
426 B
JavaScript

import UI from '../ui/UI';
/**
* 所有组件基类
* @author tengge / https://github.com/tengge1
* @param {*} options
*/
function BaseComponent(options) {
UI.Control.call(this, options);
this.app = options.app
}
BaseComponent.prototype = Object.create(UI.Control.prototype);
BaseComponent.prototype.constructor = BaseComponent;
BaseComponent.prototype.render = function () {
};
export default BaseComponent;