Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
docs: translate unit.md to chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
VampireAchao committed Aug 1, 2024
1 parent 2cc38c2 commit 11285ec
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/content/zh/basic/unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: 单位制
---

# 单位制

Newcar 提供了三种单位制:`frame``s``ms`。默认单位通常是秒,与应用程序绑定,除了 [Recorder](./recorder) 使用毫秒。

## 设置单位制

```ts
app.config.unit = 'frame'
app.config.unit = 's'
app.config.unit = 'ms'
```

0 comments on commit 11285ec

Please sign in to comment.