wjx 1 éve
szülő
commit
02e5d9fef6
1 módosított fájl, 12 hozzáadás és 2 törlés
  1. 12 2
      src/pages/loginSucc/index.tsx

+ 12 - 2
src/pages/loginSucc/index.tsx

@@ -90,7 +90,7 @@ const LoginSucc: React.FC = () => {
     const startTimer = () => {
         if (!timer) {
             activeEscalationHandle()
-            let t:any = setInterval(() => {
+            let t: any = setInterval(() => {
                 activeEscalationHandle()
             }, 1000 * 60 * 10)
             setTimer(t)
@@ -343,7 +343,17 @@ const LoginSucc: React.FC = () => {
             {openModify && <Modify open={openModify} onClose={() => setOpenModify(false)} onChange={() => { getDetails(); setOpenModify(false) }} />}
             {/* 悬浮球 */}
             {h5SignShow !== 'SIGN_SHOW_NONE' && <>
-                {(h5SignShow === 'SIGN_SHOW_ALL' || ((h5SignShow === 'SIGN_SHOW_WX_NONE' && !isWx()) || (isOs() === 'windows' || isOs() === 'mac')) || (h5SignShow === 'SIGN_SHOW_H5_NONE' && (isOs() === 'windows' || isOs() === 'mac'))) && <FloatingWindow isVer={isVer} onClick={() => setOpen(true)} />}
+                {(
+                    h5SignShow === 'SIGN_SHOW_ALL' ||
+                    (
+                        (h5SignShow === 'SIGN_SHOW_WX_NONE' && !isWx())
+                        // || (isOs() === 'windows' || isOs() === 'mac')
+                    )
+                    || (
+                        h5SignShow === 'SIGN_SHOW_H5_NONE' &&
+                        (isOs() === 'windows' || isOs() === 'mac')
+                    )
+                ) && <FloatingWindow isVer={isVer} onClick={() => setOpen(true)} />}
             </>}
             {/* 支付选择组件 */}
             {payConfig.open && <PayPop isVer={isVer} {...payConfig} onClose={() => setPayConfig({ open: false, data: {} })} onChange={preOrderSucc} />}