From f821e9800ed171a59a6713368819bdbddf4da0a9 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 28 十一月 2024 14:48:01 +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