تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3656 أدوات العرض

Hi,

I want to call a super function after a query (I need the result before the parent call). Without wait the end of the query I can use "this._super.apply(this, arguments);" but here I want to call the parent function in the "then part":

Model.query(condition).then(function (datas) {

// call a parent function

});

Thanks

الصورة الرمزية
إهمال