跳至內容
選單
此問題已被標幟
5543 瀏覽次數

Dear community.

I'm having some problems when I'm trying to inherit exportasJSON.

I'm extending module.Order, this worked for almost every method but this is not working.

I've tried:

this._super.apply(this,arguments);

and:

this._super();

But it displays some errors:

Uncaught TypeError: Cannot call method 'apply' of undefined

and

Object [object Object] has no method '_super'

Someone know why this is not working? I'm trying to add some variables to return when it calls exportAsJSON.

Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 25
781
10
4月 23
34616
5
12月 22
29655
20
2月 21
103669
0
3月 15
5016