阅读背景:

Extjs 5 - 静态函数从同一个类调用其他静态函数

来源:互联网 

I have code like this:

我有这样的代码:

Ext.define( 'someClass', {

   statics : {

      methodA   : function( ) { return 'A'; },
      methodAB  : function( ) {

        var A = this.methodA();
        return A + 'B';
      }
   }
} );
Ext.define(



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: