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

I am geting .done is not a function
form the code blow an not sure that is the reason

can you plz help  

on_data_loaded_2: function(events) {
    var res = this._super.apply(this, arguments);
    if (this.modelName === 'project.task') {
        this.get_critical_paths(events).done(function(paths) {
        this.critical_paths = paths;
        this.draw_canvas();
    }.bind(this));
    }
    return res;
},



頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
9月 21
2896
1
5月 25
4067
1
5月 24
3047
1
4月 24
26617
1
11月 22
1738