From 1da741e8519e13d8f92824bf8ef15b92800b70fc Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@gmail.com> Date: 星期六, 28 六月 2025 16:27:30 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/header/FakeFab.jsx | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/zy-acs-flow/src/map/header/FakeFab.jsx b/zy-acs-flow/src/map/header/FakeFab.jsx index 635c918..eb3f593 100644 --- a/zy-acs-flow/src/map/header/FakeFab.jsx +++ b/zy-acs-flow/src/map/header/FakeFab.jsx @@ -5,6 +5,7 @@ } from '@mui/material'; import LensBlurIcon from '@mui/icons-material/LensBlur'; import { getFakeSign, setFakeSign } from "../http"; +import { VERIFY_PASSWORD } from '@/config/setting'; const FakeFab = (props) => { const translate = useTranslate(); @@ -21,11 +22,11 @@ let pass = true; if (!res) { const pwd = prompt("please enter password:"); - if (pwd === 'xltys1995') { + if (pwd === VERIFY_PASSWORD) { pass = true; } else { pass = false; - if (!pwd) { + if (pwd) { alert('Incorrect password'); } } -- Gitblit v1.9.1