|
|
@@ -16,7 +16,6 @@ const Chart2 = () => { |
|
|
|
useEffect(() => { |
|
|
|
const restTime = ctx?.runState?.lastFireChangeTime; |
|
|
|
if (restTime == null) return; |
|
|
|
console.log("restTime is:", restTime); |
|
|
|
let timer = null; |
|
|
|
if (/分/.test(restTime) && /秒/.test(restTime)) { |
|
|
|
let [min, sec] = restTime.replace(/分/, ":").replace(/秒/, "").split(":"); |
|
|
|