错误:[$ parse:lexerr] Lexer错误:表达式[#]

时间:2015-11-04 18:59:43

标签: javascript angularjs

点击此按钮时出现此错误:

<button class="btn btn-grey pull-right" data-ng-disabled="routeDesc.$invalid || !allowToContinue" data-ng-click="setupConstraints()">Próximo <span class="fa fa-spinner loader" loading></span></button>
        </div>

完成错误:

Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 0-0 [#] in expression [#]. http://errors.angularjs.org/1.2.29/$parse/lexerr?p0=Unexpected%20nextharacter%20&p1=s%200-0%20%5B%23%5D&p2=%23 at VALIDITY_STATE_PROPERTY (http://localhost:3000/lib/angular/angular.js:78:12) at Lexer.throwError (http://localhost:3000/lib/angular/angular.js:10411:11) at Lexer.lex (http://localhost:3000/lib/angular/angular.js:10365:16) at Parser.parse (http://localhost:3000/lib/angular/angular.js:10589:30) at fullExp.$get (http://localhost:3000/lib/angular/angular.js:11447:37) at Object.ngEventDirectives.(anonymous function).$rootScope.compile (http://localhost:3000/lib/angular/angular.js:19270:20) at applyDirectivesToNode (http://localhost:3000/lib/angular/angular.js:6530:32) at compileNodes (http://localhost:3000/lib/angular/angular.js:6093:15) at compileNodes (http://localhost:3000/lib/angular/angular.js:6105:15) at compile (http://localhost:3000/lib/angular/angular.js:6026:15)

ng-click的{​​{1}}更改对我不起作用,我不知道这是什么。

修改

ng-href

0 个答案:

没有答案