From d14e77e0da0db122867500fecf6d0607ef4d3bd5 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 26 十二月 2024 13:43:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
zy-acs-flow/src/map/header/FakeFab.jsx | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/zy-acs-flow/src/map/header/FakeFab.jsx b/zy-acs-flow/src/map/header/FakeFab.jsx
index 0f64e71..635c918 100644
--- a/zy-acs-flow/src/map/header/FakeFab.jsx
+++ b/zy-acs-flow/src/map/header/FakeFab.jsx
@@ -1,4 +1,5 @@
import React, { useState, useRef, useEffect, useMemo } from "react";
+import { useTranslate } from "react-admin";
import {
Fab,
} from '@mui/material';
@@ -6,6 +7,7 @@
import { getFakeSign, setFakeSign } from "../http";
const FakeFab = (props) => {
+ const translate = useTranslate();
const [fakeRun, setFakeRun] = useState(false);
useEffect(() => {
@@ -45,7 +47,7 @@
onClick={handleToggle}
>
<LensBlurIcon />
- {/* {translate('page.map.action.adapt')} */}
+ {translate('page.map.action.fake')}
</Fab>
</>
)
--
Gitblit v1.9.1