Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1770 Lượt xem

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;
},



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 21
3026
1
thg 5 25
4357
1
thg 5 24
3284
1
thg 4 24
27033
1
thg 11 22
1913