From 4550ed0958b2245eca8f079e8ff3054f99070a6a Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Tue, 30 Jan 2018 17:40:28 +0800 Subject: [PATCH] update --- src/main/ui/static/cms/cms.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/ui/static/cms/cms.js b/src/main/ui/static/cms/cms.js index 5e8dce376..2c6363284 100644 --- a/src/main/ui/static/cms/cms.js +++ b/src/main/ui/static/cms/cms.js @@ -49,6 +49,9 @@ define(['angular', 'uiRouter', 'static/commons/angular-ueditor'], function (angu $scope.pagination = {}; $scope.topUp = function () { var params = angular.copy($scope.params); + if(params.type==null || params.type==''||params.amount==null||params.amount==''||params.customerNumber==''||params.customerNumber==null ){ + return; + } $http.get('/top_up/recharge',{params: params}).then(function (resp) { alert('ok'); }, function (resp) {