修复bug
This commit is contained in:
@@ -29,7 +29,7 @@ const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time
|
||||
})
|
||||
}
|
||||
var roleTypes = getQueryString().roleTypes;
|
||||
var index = 0;
|
||||
var index = 1;
|
||||
var totalGoldIncome = [];
|
||||
// 初始化函數
|
||||
$(function () {
|
||||
@@ -128,7 +128,7 @@ function income(startDate, endDate) {
|
||||
})
|
||||
$('.cycle .cycle_in ul').append(str);
|
||||
// 首次处理
|
||||
$('.titleInfo div').eq(0).text(index == 0 ? langReplace(localLang.incomeStatistics.text5) : langReplace(localLang.incomeStatistics.text9));
|
||||
$('.titleInfo div').eq(0).text(index == 1 ? langReplace(localLang.incomeStatistics.text5) : langReplace(localLang.incomeStatistics.text9));
|
||||
totalGoldIncome[0] = res.data.dailyIncome.totalGoldIncome;
|
||||
$('.income .gold b').text(totalGoldIncome[index - 1]);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user