Browse Source

Merge pull request #1065 in VISUAL/fineui from ~TELLER/fineui:typescript to master

* commit '3bac58db01eeff0c871c0400b3b7c5d9ae9bc65a':
  refactor: options定义
  refactor: 去掉fineui的model定义
es6
Teller 5 years ago
parent
commit
5c41720f3d
  1. 2
      typescript/core/ob.ts
  2. 4
      typescript/core/widget.ts

2
typescript/core/ob.ts

@ -1,7 +1,7 @@
export interface _OB { export interface _OB {
props: Props | (<T>(config: T) => Props & T); props: Props | (<T>(config: T) => Props & T);
options: Props; options: this["props"];
events?: { events?: {
[eventName: string]: Function[]; [eventName: string]: Function[];

4
typescript/core/widget.ts

@ -57,9 +57,7 @@ export interface _Widget extends _OB {
*/ */
_renderEngine: RenderEngine; _renderEngine: RenderEngine;
_store(): any; _store(): void;
model: any;
// 生命周期函数 // 生命周期函数
/** /**

Loading…
Cancel
Save