Upd:修復RService详情页刷新丢失数据问题

master
duLingLing 5 years ago
parent e997842879
commit dd4635e55d

@ -47,6 +47,8 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
$scope.initDate = function () { $scope.initDate = function () {
$http.get("/client/partner_info/"+partner.data.client_moniker+"/incremental_service/"+$stateParams.channel+"/info").then(function(res){ $http.get("/client/partner_info/"+partner.data.client_moniker+"/incremental_service/"+$stateParams.channel+"/info").then(function(res){
$scope.serviceInfo =res.data $scope.serviceInfo =res.data
$scope.serviceInfo.logo_url = '/static/images/'+$scope.serviceInfo.channel+'.jpg'
}) })
} }
$scope.initDate(); $scope.initDate();

Loading…
Cancel
Save