From ce7cab3f73e46f76b10efd7f8ff8dd5ce712482b Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 12 十一月 2024 14:39:43 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/header/FakeFab.jsx | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/zy-acs-flow/src/map/header/FakeFab.jsx b/zy-acs-flow/src/map/header/FakeFab.jsx index ecaae12..f39f6d4 100644 --- a/zy-acs-flow/src/map/header/FakeFab.jsx +++ b/zy-acs-flow/src/map/header/FakeFab.jsx @@ -17,15 +17,15 @@ const handleToggle = () => { getFakeSign(null, (res) => { let pass = true; - if (!res) { - const pwd = prompt("please enter password:"); - if (pwd === 'xltys1995') { - pass = true; - } else { - pass = false; - alert('Incorrect password'); - } - } + // if (!res) { + // const pwd = prompt("please enter password:"); + // if (pwd === 'xltys1995') { + // pass = true; + // } else { + // pass = false; + // alert('Incorrect password'); + // } + // } if (pass) { setFakeSign(!res, (updatedSign) => { setFakeRun(updatedSign); -- Gitblit v1.9.1