From 9ce61c658400f10d9631345ef25614df62c139ca Mon Sep 17 00:00:00 2001 From: lifegpc Date: Wed, 10 Apr 2024 21:06:30 +0800 Subject: [PATCH] Update version number in u2_cal_ucoin.user.js --- u2_cal_ucoin.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/u2_cal_ucoin.user.js b/u2_cal_ucoin.user.js index 3d1ba12..f72a059 100644 --- a/u2_cal_ucoin.user.js +++ b/u2_cal_ucoin.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name 计算 UCoin 获取量 // @namespace https://github.com/lifegpc/userscript -// @version 0.0.4 +// @version 0.0.5 // @description 仅支持计算 体积(B)、数量(D) // @author lifegpc // @match https://u2.dmhy.org/userdetails.php?* @@ -99,7 +99,7 @@ let observer = new MutationObserver((records) => { } let dsum = rows.length * d; let sum = bsum + dsum; - let result = `共计 ${sum.toFixed(3)}/h (${(sum * 24).toFixed(3)}/d):体积 ${bsum.toFixed(3)}/h (${(bsum * 24).toFixed(3)}/d),数量 ${dsum.toFixed(1)}/h (${(dsum * 24).toFixed(3)}/d)`; + let result = `共计 ${sum.toFixed(3)}/h (${(sum * 24).toFixed(3)}/d):体积 ${bsum.toFixed(3)}/h (${(bsum * 24).toFixed(3)}/d),数量 ${dsum.toFixed(1)}/h (${(dsum * 24).toFixed(1)}/d)`; if (warn > 0) { result += `(警告:${warn} 个种子计算可能不准确)`; }