zoukankan      html  css  js  c++  java
  • angularjs 错误集锦

    1. 问题:

    错误信息:

    // IE10 及以上
    TypeError: 无法获取未定义或 null 引用的属性“pager”
       at Anonymous function (http://localhost:9090/AngularProject/1/resources/files/list/component.js?bust=1535512101027:19:5)
       at processQueue (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:17169:13)
       at Anonymous function (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:17217:27)
       at Scope.prototype.$digest (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:18352:15)
       at Scope.prototype.$apply (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:18649:13)
       at done (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:12627:36)
       at completeRequest (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:12871:7)
       at requestLoaded (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:12788:9) Possibly unhandled rejection: {"description":"无法获取未定义或 null 引用的属性“pager”","number":-2146823281,"stack":"TypeError: 无法获取未定义或 null 引用的属性“pager”
       at Anonymous function (http://localhost:9090/AngularProject/1/resources/files/list/component.js?bust=1535512101027:19:5)
       at processQueue (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:17169:13)
       at Anonymous function (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:17217:27)
       at Scope.prototype.$digest (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:18352:15)
       at Scope.prototype.$apply (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:18649:13)
       at done (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:12627:36)
       at completeRequest (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:12871:7)
       at requestLoaded (http://localhost:9090/AngularProject/1/resources/js/angular.js?bust=1535512101027:12788:9)"}
    
    // IE9
    Error: 拒绝访问。
     Possibly unhandled rejection: {"message":"拒绝访问。
    ","description":"拒绝访问。
    ","number":-2147024891,"resource":{}}

    解决:

    app.config(['$qProvider', function ($qProvider) {
        $qProvider.errorOnUnhandledRejections(false);
    }]);
  • 相关阅读:
    python之访问限制机制
    python之property装饰器
    python之封装、组合
    python中classmethod和staticmethod
    (专题一)01 matlab基础
    代数运算
    点运算
    研究生学习安排2019/6/6
    图像处理中创建CDib类时无法选择基类类型时怎么办
    04 学习java养成良好的写作习惯
  • 原文地址:https://www.cnblogs.com/liboo/p/9553213.html
Copyright © 2011-2022 走看看