From b056244badc7963ece8724c6a5172173a8a5c65c Mon Sep 17 00:00:00 2001 From: guoapeng Date: Sun, 8 Jun 2025 21:48:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:loading=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomNavBar.tsx | 2 +- src/pages/Measure.tsx | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/CustomNavBar.tsx b/src/components/CustomNavBar.tsx index da25498..8af3f02 100644 --- a/src/components/CustomNavBar.tsx +++ b/src/components/CustomNavBar.tsx @@ -54,7 +54,7 @@ export default function CustomNavBar({ title }: { title: string }) { transition: 'transform 300ms', }} /> -
+
20 ? '#3e63cb' : 'red' }}>
{device.power || 0} diff --git a/src/pages/Measure.tsx b/src/pages/Measure.tsx index d032afd..0035cde 100644 --- a/src/pages/Measure.tsx +++ b/src/pages/Measure.tsx @@ -437,11 +437,12 @@ export default function Measure() {
{/**正在校准时的loading */} - {caloading && ( - -
+ {/*caloading*/} + {( + +
-
正在转换...
+ 请稍候...
)}