|
|
@@ -84,7 +84,8 @@ async function tryPickExpert() {
|
|
|
let tmpData = [];
|
|
|
for (let i = 0; i < expectList.length; i++) {
|
|
|
const item = recommendList[i];
|
|
|
- if (item.winningProbability >= winningProbability) {
|
|
|
+ const prValue = parseInt(item.winningProbability);
|
|
|
+ if (prValue >= winningProbability) {
|
|
|
let planDetail = await getExpertsRecommendDetail(item.userId, gLotteryCode, groupCode, ranking);
|
|
|
let factor = calcExpertPickFactor(planDetail);
|
|
|
tmpData.push([factor, item]);
|