master
todking 4 years ago
parent be951dc34b
commit e6ec6c7dd6

@ -251,7 +251,7 @@ define(['angular', '../../analysis/bd/analysis-bd'], function (angular) {
$scope.chooseLastConfig = function (mon) {
let year = new Date(mon).getFullYear();
let month = new Date(mon).getMonth();
if(index == 0){
if(month == 0){
year--;
month = year + '-12';
}else if(month <= 9){

Loading…
Cancel
Save