AngularJs 报错 Error: [$parse:lexerr]
参考:https://www.cnblogs.com/fangshidaima/p/6048071.html
错误:
根据错误找到报错行:
$scope.$apply($scope.param1 = $scope.vname);
将其改为:
$scope.param1 = $scope.vname;
即可
参考:https://www.cnblogs.com/fangshidaima/p/6048071.html
错误:
根据错误找到报错行:
$scope.$apply($scope.param1 = $scope.vname);
将其改为:
$scope.param1 = $scope.vname;
即可