From 349c48e168b9f2580334422228acde7d1b21bede Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Fri, 05 Jun 2026 11:19:15 +0800
Subject: [PATCH] 1

---
 src/utils/index.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/utils/index.js b/src/utils/index.js
index b4f1894..ce89959 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -168,4 +168,9 @@
 export const formatWithCommas = (num) => {
   if (num === null || num === undefined || isNaN(num)) return '--';
   return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
+}
+
+/** 体验矿机 test=Y,普通矿机 cycle 为可解锁分钟数 */
+export function isMinerTest(test) {
+  return test === 'Y' || test === true
 }
\ No newline at end of file

--
Gitblit v1.9.3