Browse Source

账户管理-安全设置 删除测试代码

liusw 8 years ago
parent
commit
c15cb75d50

+ 0 - 3
src/main/webapp/resources/js/usercenter/controllers/forstore/buyer_home_ctrl.js

@@ -6,9 +6,6 @@ define(['app/app', 'calendar'], function(app) {
     app.register.controller('homeCtrl', ['$scope', '$rootScope', 'Recommendation', 'ShippingAddress', 'Bill', '$q', 'toaster', '$modal', 'Goods', 'StoreInfo', function ($scope, $rootScope, Recommendation, ShippingAddress, Bill, $q, toaster, $modal, Goods, StoreInfo) {
         $rootScope.active = 'home';
         document.title='买家中心-优软商城';
-        $scope.userInfo = $rootScope.userInfo;
-        $scope.userInfo.pwdEnable = false;
-      $scope.userInfo.haveUserQuestion = false;
       $scope.userInfo.userEmail = null;
         var getRecommendComps = function (userUU, usedFor, pageable) {
             Recommendation.getRecommendComps({page: pageable.page, size: pageable.size}, function (data) {