diff --git a/app/global-error.jsx b/app/global-error.jsx deleted file mode 100644 index 443ae9a..0000000 --- a/app/global-error.jsx +++ /dev/null @@ -1,23 +0,0 @@ -"use client"; - -export default function GlobalError({ error, reset }) { - return ( - - -
-
-

- 请打开微信扫码支付 -
- 完成支付后关闭此页面即可 -

-
-
- - - ); -} diff --git a/app/pay/[weixin]/error.jsx b/app/pay/[weixin]/error.jsx deleted file mode 100644 index 81e8876..0000000 --- a/app/pay/[weixin]/error.jsx +++ /dev/null @@ -1,15 +0,0 @@ -"use client"; // Error components must be Client Components - -export default function Error() { - return ( -
-
-

- 请打开微信扫码支付 -
- 完成支付后关闭此页面即可 -

-
-
- ); -} diff --git a/app/pay/[weixin]/page.jsx b/app/pay/[weixin]/page.jsx index 3faf14e..be97480 100644 --- a/app/pay/[weixin]/page.jsx +++ b/app/pay/[weixin]/page.jsx @@ -68,14 +68,16 @@ export default function Weixin({ params }) { onClick={saveQrcode} className="btn btn-primary rounded-full text-white text-base" > - ① 点此保存二维码 - - + {device === 0 && ( + + )}
{qrcodeUrl && (