mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-04-23 04:44:23 +08:00
1
This commit is contained in:
+1
-1
@@ -2291,7 +2291,7 @@ function newfarm_info() {
|
||||
|
||||
data = JSON.parse(data);
|
||||
if (data.data.success) {
|
||||
if (data.data.result.plantAwards.length > 0){
|
||||
if (data.data.result.plantAwards && data.data.result.plantAwards.length > 0){
|
||||
for (let i of data.data.result.plantAwards ){
|
||||
if (i.awardStatus == 1){
|
||||
$.newfarm_info = `${i.skuName} -> ${i.exchangeRemind}`;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user