AngularJs 报错 Error: [$parse:lexerr]

参考:https://www.cnblogs.com/fangshidaima/p/6048071.html

错误:

image.png

根据错误找到报错行:

$scope.$apply($scope.param1 = $scope.vname);

将其改为:

$scope.param1 = $scope.vname;

即可

你可能感兴趣的:(AngularJs 报错 Error: [$parse:lexerr])