fix: reactivity transform

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-07 23:54:00 +09:00
parent 5f85527e7d
commit f9e3394b46
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 3 additions and 3 deletions

View File

@ -149,9 +149,9 @@ let sOneRound = false;
function tick() { function tick() {
const now = props.now(); const now = props.now();
now.setMinutes(now.getMinutes() + now.getTimezoneOffset() + props.offset); now.setMinutes(now.getMinutes() + now.getTimezoneOffset() + props.offset);
const previousS = s.value; const previousS = s;
const previousM = m.value; const previousM = m;
const previousH = h.value; const previousH = h;
s = now.getSeconds(); s = now.getSeconds();
m = now.getMinutes(); m = now.getMinutes();
h = now.getHours(); h = now.getHours();