From 9483baffba9a24a2a36fc8739fc65b59317d9142 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 03 七月 2025 14:18:46 +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