Showing
1 changed file
with
3 additions
and
0 deletions
| @@ -438,6 +438,8 @@ class _ExportBookDataPageState extends State<ExportBookDataPage> { | @@ -438,6 +438,8 @@ class _ExportBookDataPageState extends State<ExportBookDataPage> { | ||
| 438 | progress != null && progress != 100 | 438 | progress != null && progress != 100 |
| 439 | ? LinearProgressIndicator( | 439 | ? LinearProgressIndicator( |
| 440 | value: progress / 100, | 440 | value: progress / 100, |
| 441 | + backgroundColor: MyColours.color_A9E3E6, | ||
| 442 | + color: MyColours.color_438E93, | ||
| 441 | ) | 443 | ) |
| 442 | : VEmptyView(10), | 444 | : VEmptyView(10), |
| 443 | Container( | 445 | Container( |
| @@ -616,6 +618,7 @@ class _ExportBookDataPageState extends State<ExportBookDataPage> { | @@ -616,6 +618,7 @@ class _ExportBookDataPageState extends State<ExportBookDataPage> { | ||
| 616 | print(response); | 618 | print(response); |
| 617 | } catch (e) { | 619 | } catch (e) { |
| 618 | print(e); | 620 | print(e); |
| 621 | + Utils.showToast('下载异常,请稍后重试'); | ||
| 619 | } | 622 | } |
| 620 | 623 | ||
| 621 | // taskId = await FlutterDownloader.enqueue( | 624 | // taskId = await FlutterDownloader.enqueue( |
-
Please register or login to post a comment