Skip to content

Commit fe6d81c

Browse files
committed
fix: 修复类型报错
1 parent 1842f10 commit fe6d81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/[...all].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { onBeforeRouteLeave } from 'vue-router'
1111
const router = useRouter()
1212
1313
const data = ref({
14-
inter: null as NodeJS.Timer | null,
14+
inter: NaN,
1515
countdown: 5,
1616
})
1717

0 commit comments

Comments
 (0)