Vue-resource: IE11 issue with nextTick

Created on 28 Feb 2017  路  9Comments  路  Source: pagekit/vue-resource

Original issue: https://github.com/vuejs/vue/issues/5031

It seems that with the new Vue 2.2.x update, Vue Resource crashes when using nextTick. This might be related to the fact that Vue removed many exposed methods on Vue.util?

image

Most helpful comment

Fixed in v1.2.1

All 9 comments

I have the same problem

Fixed in v1.2.1

馃憤

so fast response, nice. and many thanks!

I'm still getting the error in this line:

function nextTick(cb, ctx) {
    return ntick(cb, ctx);
}

I'm using vue-resource 1.2.1 an Vue 2.2.2. IE 11 on Windows 7.

I updated to version 1.2.1 the error I get now is :

function nextTick(cb, ctx) {
    return ntick(cb, ctx);
    /*Object expected*/
}

in vue-resource.common.js on line 296

@bibiseb What code triggers this error? I've just had same problem and updating to 1.2.1 resolved it (works on IE11).

I am using onsen ui on a project and it seems that the problem could be a conflict with that library. Vue and Vue-resource are successfully working when I don't use that UI library.

I'm facing this same issue using vue-resource version 1.3.4.

screen shot 2018-02-15 at 3 47 37 pm

screen shot 2018-02-15 at 3 46 32 pm

Was this page helpful?
0 / 5 - 0 ratings