From 28618068e60698feaa19f92db3c07d689628f8d8 Mon Sep 17 00:00:00 2001 From: "23028876916@qq.com" Date: Fri, 14 May 2021 16:03:40 +0800 Subject: [PATCH] =?UTF-8?q?0514=20=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E9=A1=B5=E6=8F=90=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order_found_result/order_found_result_page.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/pages/order_found_page/order_found_result/order_found_result_page.dart b/lib/pages/order_found_page/order_found_result/order_found_result_page.dart index 374deda..74eddc0 100644 --- a/lib/pages/order_found_page/order_found_result/order_found_result_page.dart +++ b/lib/pages/order_found_page/order_found_result/order_found_result_page.dart @@ -60,6 +60,7 @@ class _OrderFoundResultPageState extends State { // _bloc.getData(); } + //找回订单操作 retrieveOrderClick() { print("是我的,找回该订单点击"); Map params = {}; @@ -77,9 +78,10 @@ class _OrderFoundResultPageState extends State { } //复制订单号 - copyOrderCode() { + copyOrderCode() async{ ClipboardData data = new ClipboardData(text: model?.ordId); - Clipboard.setData(data); + await Clipboard.setData(data); + Fluttertoast.showToast(msg: "已复制订单号"); } @override