()
| 383 | } |
| 384 | } |
| 385 | function showTaskProcess() { |
| 386 | return new Promise(async resolve => { |
| 387 | await plantBeanIndex(); |
| 388 | $.taskList = $.plantBeanIndexResult.data.taskList; |
| 389 | if ($.taskList && $.taskList.length > 0) { |
| 390 | console.log(" 任务 进度"); |
| 391 | for (let item of $.taskList) { |
| 392 | console.log(`[${item["taskName"]}] ${item["gainedNum"]}/${item["totalNum"]} ${item["isFinished"]}`); |
| 393 | } |
| 394 | } |
| 395 | resolve() |
| 396 | }) |
| 397 | } |
| 398 | //助力好友 |
| 399 | async function doHelp() { |
| 400 | for (let plantUuid of newShareCodes) { |
no test coverage detected