From 56369cf856c7bc790b443d57d0fd0887a38aed29 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Fri, 12 Sep 2025 15:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8feat=EF=BC=9A=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=A2=9E=E5=8A=A0=E5=A4=8D=E5=88=B6=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/OrderProfile.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/OrderProfile.jsx b/src/components/OrderProfile.jsx index a3b3668..767d5ff 100644 --- a/src/components/OrderProfile.jsx +++ b/src/components/OrderProfile.jsx @@ -9,6 +9,7 @@ import { CalendarOutlined, EditOutlined, CheckOutlined, + CopyOutlined } from '@ant-design/icons' import { useEffect, useState } from 'react' @@ -96,6 +97,10 @@ const OrderProfile = ({ coliSN, ...props }) => { {orderDetail.order_no} + { + navigator.clipboard.writeText(orderDetail.order_no) + message.success('已复制😀') + }}/>