Resolver Emitting Error ` ERROR Error: “[object Object]” `

前端 未结 8 1948
你的背包
你的背包 2020-12-13 23:50

I\'m having a problem with regards of implementing a resolver on my routes as it has no issue until I include InitialDataResolver on my routing module.

8条回答
  •  别那么骄傲
    2020-12-14 00:44

    one-time solution : find function defaultErrorLogger in dist/vendor.bundle.js and add:

    for (var _i = 1; _i < arguments.length; _i++) {
        values[_i - 1] = arguments[_i];
    }
    console.log(arguments);
    console.error.apply(console, values); code here
    

    then refresh page without recompiling

提交回复
热议问题