Refactor(StoreCard): Fix the bug that open android emulator automatically

Fix the bug that open android emulator automatically when click mask
This commit is contained in:
2024-05-08 15:10:15 +08:00
parent c9969a039d
commit c62e5c1e77
2 changed files with 3 additions and 4 deletions

View File

@@ -75,10 +75,9 @@ const StoreCard = ({
}
if (platform === 'ANDROID') {
void modal.confirm({
centered: true,
icon: <Icon style={{ color: COLOR_MAIN }} component={IconOxygenInfo} />,
title: 'Android 端',
centered: true,
maskClosable: true,
content: (
<FlexBox className={'android-qrcode'}>
<AntdQRCode
@@ -147,10 +146,9 @@ const StoreCard = ({
const handleOnAndroidBtnClick = (e: MouseEvent<HTMLDivElement>) => {
e.stopPropagation()
void modal.confirm({
centered: true,
icon: <Icon style={{ color: COLOR_MAIN }} component={IconOxygenInfo} />,
title: 'Android 端',
centered: true,
maskClosable: true,
content: (
<FlexBox className={'android-qrcode'}>
<AntdQRCode