fix: reactivity transform
This commit is contained in:
parent
5f85527e7d
commit
f9e3394b46
|
@ -149,9 +149,9 @@ let sOneRound = false;
|
|||
function tick() {
|
||||
const now = props.now();
|
||||
now.setMinutes(now.getMinutes() + now.getTimezoneOffset() + props.offset);
|
||||
const previousS = s.value;
|
||||
const previousM = m.value;
|
||||
const previousH = h.value;
|
||||
const previousS = s;
|
||||
const previousM = m;
|
||||
const previousH = h;
|
||||
s = now.getSeconds();
|
||||
m = now.getMinutes();
|
||||
h = now.getHours();
|
||||
|
|
Loading…
Reference in a new issue