Browse Source

与管理平台交互,优化注册流程

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@835 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
suntg 11 years ago
parent
commit
398de0f2c0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/webapp/resources/js/register/registerApp.js

+ 1 - 0
src/main/webapp/resources/js/register/registerApp.js

@@ -53,6 +53,7 @@ define([ 'toaster', 'services' ,'ui.router', 'file-upload', 'file-upload-shim'],
 						code: $scope.enterprise.enBussinessCode
 					}
 				}).success(function(data){
+					data = eval(data);
 					console.log(data);
 					if(data == 'ENABLE') {
 						$scope.myForm.enBussinessCode.$setValidity('available', true);