From 07f17b7751bb88086f877e021313b2fe2e3b7aef Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@gmail.com>
Date: 星期一, 21 四月 2025 15:59:55 +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